xxl.spatial
Class LocationalCode
java.lang.Object
|
+--xxl.spatial.LocationalCode
- public class LocationalCode
- extends java.lang.Object
- implements Convertable, java.lang.Comparable
|
Method Summary |
int |
compareTo(java.lang.Object o)
|
void |
read(java.io.DataInput dataInput)
Reads the state (the attributes) of an object from a given DataInput. |
int |
sizeOf()
Returns the number of bytes that are used to serialize this
Object. |
java.lang.String |
toString()
|
int |
write(java.io.DataOutput dataOutput)
Writes the state (the attributes) of an object to a given DataOutput. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
cell
protected BitSet cell
level
protected int level
LocationalCode
public LocationalCode(BitSet cell,
int level)
LocationalCode
public LocationalCode(BitSet cell)
LocationalCode
public LocationalCode()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
- compareTo in interface java.lang.Comparable
read
public void read(java.io.DataInput dataInput)
throws java.io.IOException
- Reads the state (the attributes) of an object from a given DataInput.
- Specified by:
- read in interface Convertable
write
public int write(java.io.DataOutput dataOutput)
throws java.io.IOException
- Writes the state (the attributes) of an object to a given DataOutput.
- Specified by:
- write in interface Convertable
sizeOf
public int sizeOf()
- Returns the number of bytes that are used to serialize this
Object.
- Specified by:
- sizeOf in interface Convertable
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object