public class IntRange extends Object
限定符和类型 | 方法和说明 |
---|---|
int |
getLeft() |
int |
getRight() |
boolean |
gt(int n) |
boolean |
in(int n) |
boolean |
inon(int n) |
boolean |
linon(int n) |
boolean |
lt(int n) |
static IntRange |
make(int right) |
static IntRange |
make(int left,
int right) |
static IntRange |
make(String s) |
boolean |
on(int n) |
boolean |
rinon(int n) |
void |
setLeft(int left) |
void |
setRight(int right) |
String |
toString() |
public static IntRange make(int right)
public static IntRange make(int left, int right)
public boolean in(int n)
public boolean on(int n)
public boolean inon(int n)
public boolean gt(int n)
public boolean lt(int n)
public boolean linon(int n)
n
- public boolean rinon(int n)
n
- public int getLeft()
public void setLeft(int left)
public int getRight()
public void setRight(int right)
Copyright © 2017. All rights reserved.