Package org.gephi.filters.api
Class Range
- java.lang.Object
-
- org.gephi.filters.api.Range
-
public final class Range extends Object
- Author:
- Mathieu Bastian
-
-
Constructor Summary
Constructors Constructor Description Range(Number lowerBound, Number upperBound)
Range(Number lowerBound, Number upperBound, boolean leftInclusive, boolean rightInclusive)
Range(Number lowerBound, Number upperBound, Number min, Number max)
Range(Number lowerBound, Number upperBound, Number min, Number max, boolean leftInclusive, boolean rightInclusive, Number[] values)
Range(Number lowerBound, Number upperBound, Number min, Number max, Number[] values)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Number
getLowerBound()
Byte
getLowerByte()
Double
getLowerDouble()
Float
getLowerFloat()
Integer
getLowerInteger()
Long
getLowerLong()
Short
getLowerShort()
Number
getMaximum()
Number
getMinimum()
Class
getRangeType()
Number
getUpperBound()
Byte
getUpperByte()
Double
getUpperDouble()
Float
getUpperFloat()
Integer
getUpperInteger()
Long
getUpperLong()
Short
getUpperShort()
Number[]
getValues()
int
hashCode()
boolean
isInRange(Number value)
boolean
isLeftInclusive()
boolean
isRightInclusive()
String
toString()
static Number
trimToBounds(Number min, Number max, Number value)
-
-
-
Method Detail
-
isInRange
public boolean isInRange(Number value)
-
getLowerDouble
public Double getLowerDouble()
-
getLowerFloat
public Float getLowerFloat()
-
getLowerInteger
public Integer getLowerInteger()
-
getLowerLong
public Long getLowerLong()
-
getLowerByte
public Byte getLowerByte()
-
getLowerShort
public Short getLowerShort()
-
getUpperDouble
public Double getUpperDouble()
-
getUpperFloat
public Float getUpperFloat()
-
getUpperInteger
public Integer getUpperInteger()
-
getUpperLong
public Long getUpperLong()
-
getUpperShort
public Short getUpperShort()
-
getUpperByte
public Byte getUpperByte()
-
getLowerBound
public Number getLowerBound()
-
getUpperBound
public Number getUpperBound()
-
getMinimum
public Number getMinimum()
-
getMaximum
public Number getMaximum()
-
getRangeType
public Class getRangeType()
-
getValues
public Number[] getValues()
-
isLeftInclusive
public boolean isLeftInclusive()
-
isRightInclusive
public boolean isRightInclusive()
-
-