Gephi Toolkit Javadoc

org.gephi.filters.api
Class Range

java.lang.Object
  extended by org.gephi.filters.api.Range

public final class Range
extends java.lang.Object

Author:
Mathieu Bastian

Constructor Summary
Range(java.lang.Number lowerBound, java.lang.Number upperBound)
           
Range(java.lang.Number lowerBound, java.lang.Number upperBound, boolean leftInclusive, boolean rightInclusive)
           
Range(java.lang.Number lowerBound, java.lang.Number upperBound, java.lang.Number min, java.lang.Number max)
           
Range(java.lang.Number lowerBound, java.lang.Number upperBound, java.lang.Number min, java.lang.Number max, boolean leftInclusive, boolean rightInclusive, java.lang.Number[] values)
           
Range(java.lang.Number lowerBound, java.lang.Number upperBound, java.lang.Number min, java.lang.Number max, java.lang.Number[] values)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Number getLowerBound()
           
 java.lang.Byte getLowerByte()
           
 java.lang.Double getLowerDouble()
           
 java.lang.Float getLowerFloat()
           
 java.lang.Integer getLowerInteger()
           
 java.lang.Long getLowerLong()
           
 java.lang.Short getLowerShort()
           
 java.lang.Number getMaximum()
           
 java.lang.Number getMinimum()
           
 java.lang.Class getRangeType()
           
 java.lang.Number getUpperBound()
           
 java.lang.Byte getUpperByte()
           
 java.lang.Double getUpperDouble()
           
 java.lang.Float getUpperFloat()
           
 java.lang.Integer getUpperInteger()
           
 java.lang.Long getUpperLong()
           
 java.lang.Short getUpperShort()
           
 java.lang.Number[] getValues()
           
 int hashCode()
           
 boolean isInRange(java.lang.Number value)
           
 boolean isLeftInclusive()
           
 boolean isRightInclusive()
           
 java.lang.String toString()
           
static java.lang.Number trimToBounds(java.lang.Number min, java.lang.Number max, java.lang.Number value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Range

public Range(java.lang.Number lowerBound,
             java.lang.Number upperBound)

Range

public Range(java.lang.Number lowerBound,
             java.lang.Number upperBound,
             boolean leftInclusive,
             boolean rightInclusive)

Range

public Range(java.lang.Number lowerBound,
             java.lang.Number upperBound,
             java.lang.Number min,
             java.lang.Number max)

Range

public Range(java.lang.Number lowerBound,
             java.lang.Number upperBound,
             java.lang.Number min,
             java.lang.Number max,
             java.lang.Number[] values)

Range

public Range(java.lang.Number lowerBound,
             java.lang.Number upperBound,
             java.lang.Number min,
             java.lang.Number max,
             boolean leftInclusive,
             boolean rightInclusive,
             java.lang.Number[] values)
Method Detail

isInRange

public boolean isInRange(java.lang.Number value)

getLowerDouble

public java.lang.Double getLowerDouble()

getLowerFloat

public java.lang.Float getLowerFloat()

getLowerInteger

public java.lang.Integer getLowerInteger()

getLowerLong

public java.lang.Long getLowerLong()

getLowerByte

public java.lang.Byte getLowerByte()

getLowerShort

public java.lang.Short getLowerShort()

getUpperDouble

public java.lang.Double getUpperDouble()

getUpperFloat

public java.lang.Float getUpperFloat()

getUpperInteger

public java.lang.Integer getUpperInteger()

getUpperLong

public java.lang.Long getUpperLong()

getUpperShort

public java.lang.Short getUpperShort()

getUpperByte

public java.lang.Byte getUpperByte()

getLowerBound

public java.lang.Number getLowerBound()

getUpperBound

public java.lang.Number getUpperBound()

getMinimum

public java.lang.Number getMinimum()

getMaximum

public java.lang.Number getMaximum()

getRangeType

public java.lang.Class getRangeType()

getValues

public java.lang.Number[] getValues()

isLeftInclusive

public boolean isLeftInclusive()

isRightInclusive

public boolean isRightInclusive()

trimToBounds

public static java.lang.Number trimToBounds(java.lang.Number min,
                                            java.lang.Number max,
                                            java.lang.Number value)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Gephi Toolkit Javadoc