edu.unh.sdb.common
Class RangedType
java.lang.Object
edu.unh.sdb.common.Type
edu.unh.sdb.common.UserType
edu.unh.sdb.common.RangedType
public class RangedType
- extends UserType
Fields inherited from class edu.unh.sdb.common.Type |
name |
Constructor Summary |
RangedType(java.lang.String name,
int storageType,
double lo,
double hi)
|
RangedType(java.lang.String name,
int storageType,
long lo,
long hi)
|
Methods inherited from class edu.unh.sdb.common.Type |
getName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RangedType
public RangedType(java.lang.String name,
int storageType,
double lo,
double hi)
RangedType
public RangedType(java.lang.String name,
int storageType,
long lo,
long hi)
getLowValue
public double getLowValue()
getHighValue
public double getHighValue()
getStorageType
public int getStorageType()
- Overrides:
getStorageType
in class UserType
equivalent
public boolean equivalent(RangedType r)
- Returns true if the argument is structurally equivalent to this RangedType, false otherwise.
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class UserType
toString
public java.lang.String toString()
- Return a representation of this object as a nicely formatted String.
- Overrides:
toString
in class UserType