All Packages Class Hierarchy This Package Previous Next Index
Class cube.database.IdList
java.lang.Object
|
+----cube.database.IdList
- public class IdList
- extends Object
An IdList is a data type for a column in a database.
For more information on the cube see the cube
Overview.
Copyright © 1997 Curtis E. Dyreson. All rights reserved.
Please be aware of the
Licence
and
Version.
- See Also:
- Id, Tuple
-
IdList(byte[])
- Construct a list from a byte array
-
IdList(Id[])
- Construct a list from an array of Ids
-
enumerate()
- Return an enumeration of the elements in the list.
-
equals(Object)
- IdLists can be used in HashTables.
-
hashCode()
- The hashCode for this is the sum of the hashCodes for all the Ids in it
-
image()
- Convert the value to a nice String image for dumping
-
toBytes()
- Convert to a byte array
-
toIdArray()
- Retrieve an array of Ids that is the sequence
IdList
public IdList(Id value[])
- Construct a list from an array of Ids
- Parameters:
- value - - An array of Ids, the array is not cloned for
this constructor!
IdList
public IdList(byte b[])
- Construct a list from a byte array
- Parameters:
- b - - a byte array, the byte array is cloned
hashCode
public int hashCode()
- The hashCode for this is the sum of the hashCodes for all the Ids in it
- Overrides:
- hashCode in class Object
equals
public boolean equals(Object obj)
- IdLists can be used in HashTables.
- Parameters:
- obj - - It must be an IdList or it will die a horrible death.
- Overrides:
- equals in class Object
image
public String image()
- Convert the value to a nice String image for dumping
enumerate
public Enumeration enumerate()
- Return an enumeration of the elements in the list.
toIdArray
public Id[] toIdArray()
- Retrieve an array of Ids that is the sequence
toBytes
public byte[] toBytes()
- Convert to a byte array
All Packages Class Hierarchy This Package Previous Next Index