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