public abstract class JDFRangeList extends java.lang.Object implements JDFBaseDataTypes
JDFBaseDataTypes.EnumFitsValue| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<JDFRange> |
rangeList |
EPSILON, MAX_CMYK_COLOR, MAX_LAB_COLOR, MAX_MATRIX_DIMENSION, MAX_RECTANGLE_DIMENSION, MAX_RGB_COLOR, MAX_SHAPE_DIMENSION, MAX_XY_DIMENSION| Constructor and Description |
|---|
JDFRangeList()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
JDFRange |
at(int i)
at(i) - get the i-th range element
|
JDFRange |
begin()
begin() - returns the first JDFDateTimeRange of the JDFDateTimeRangeList
|
void |
clear()
cleanup and empty the internal storge
|
java.lang.Object |
elementAt(int i)
getElementAt - returns the element at the ith position
|
JDFRange |
end()
begin() - returns the last JDFDateTimeRange of the JDFDateTimeRangeList
|
boolean |
equals(java.lang.Object other)
equals - returns true if both JDFNumberRangeList are equal otherwise false
|
void |
erase(int i)
erase(i) - Removes the i-th element of the range list
|
java.lang.String |
getString()
Deprecated.
060418 use toString
|
java.lang.String |
getString(int precision)
toString - serialize to string
|
int |
hashCode()
hashCode complements equals() to fulfill the equals/hashCode contract
|
boolean |
isList()
isList - tests if 'this' is a List
|
abstract boolean |
isOrdered() |
boolean |
isPartOfRange(JDFRange x)
isPartOfRange - check whether range 'x' is in the range defined by 'this'
|
boolean |
isPartOfRange(JDFRangeList x)
isPartOfRange - check whether JDFRangeList 'x' is within this range list
|
boolean |
isUnique()
isUnique - tests if 'this' has only unique values
|
abstract boolean |
isUniqueOrdered()
isUniqueOrdered - tests if
this has only unique values and if the values are ordered |
void |
remove(int i)
remove - removes an object from the vector
|
int |
size()
number of Duration range elements
|
java.lang.String |
toString()
toString - serialize to string
|
protected java.util.ArrayList<JDFRange> rangeList
public final java.lang.Object elementAt(int i)
i - the position of the element to be retrievedpublic final void remove(int i)
i - the index of the element to removepublic final boolean isPartOfRange(JDFRange x)
x - JDFRange to testpublic final boolean isPartOfRange(JDFRangeList x)
x - the range list to test@Deprecated public final java.lang.String getString()
public final java.lang.String toString()
toString in class java.lang.Objectpublic final java.lang.String getString(int precision)
public final int size()
public final void clear()
public final JDFRange at(int i)
i - index of the range to retrievepublic final JDFRange begin()
public final JDFRange end()
public final void erase(int i)
i - index of element (range) to removepublic final boolean isList()
public final boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic abstract boolean isUniqueOrdered()
this has only unique values and if the values are orderedpublic final boolean isUnique()
public abstract boolean isOrdered()