edu.stanford.math.plex
public static class PersistenceInterval.Int extends PersistenceInterval
PersistenceInterval.Float, PersistenceInterval.Int
Modifier and Type | Field and Description |
---|---|
int |
end |
static int |
MAX_END |
int |
start |
dimension
Constructor and Description |
---|
PersistenceInterval.Int(int dimension,
int start) |
PersistenceInterval.Int(int dimension,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(PersistenceInterval p)
Implements Comparable interface.
|
boolean |
equals(java.lang.Object obj)
Are two persistence intervals equivalent.
|
int |
hashCode()
Overrides Object hashcode.
|
boolean |
infiniteExtent()
Is this PersistenceInterval semi-infinite in extent?
|
double[] |
toDouble()
Represent a PersistenceInterval.Int as a double[].
|
java.lang.String |
toString()
Represent a PersistenceInterval.Int as a String.
|
public static final int MAX_END
public final int start
public final int end
public PersistenceInterval.Int(int dimension, int start, int end)
public PersistenceInterval.Int(int dimension, int start)
public boolean infiniteExtent()
infiniteExtent
in class PersistenceInterval
public java.lang.String toString()
toString
in class PersistenceInterval
public double[] toDouble()
toDouble
in class PersistenceInterval
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare.public int compareTo(PersistenceInterval p)
p
- PersistenceInterval to compare.