edu.stanford.math.plex
public static class PersistenceInterval.Float extends PersistenceInterval
PersistenceInterval.Float, PersistenceInterval.Int
Modifier and Type | Field and Description |
---|---|
double |
end |
static double |
MAX_END |
double |
start |
dimension
Constructor and Description |
---|
PersistenceInterval.Float(int dimension,
double start) |
PersistenceInterval.Float(int dimension,
double start,
double 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.Float as a String.
|
public static final double MAX_END
public final double start
public final double end
public PersistenceInterval.Float(int dimension, double start, double end)
public PersistenceInterval.Float(int dimension, double 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.