| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.bddbddb.Domain
public class Domain
A Domain represents a domain in bddbddb. Domain objects are globally unique: There is only one Domain object for each domain in the system.
| Field Summary | |
|---|---|
| protected  jwutil.collections.IndexMap | mapOptional map from element numbers to string representations. | 
| protected  java.lang.String | nameName of domain. | 
| protected  java.math.BigInteger | sizeNumber of elements in domain. | 
| Method Summary | |
|---|---|
|  jwutil.collections.IndexMap | getMap()Return the map for this domain if it exists, null otherwise. | 
|  java.math.BigInteger | getSize()Returns the size of this domain. | 
|  void | loadMap(java.io.BufferedReader in)Load the string map for this domain. | 
|  int | namedConstant(java.lang.String constant)Returns the index of the given named constant in this domain. | 
|  void | setSize(java.math.BigInteger size)Sets the size of this domain. | 
|  java.lang.String | toString() | 
|  java.lang.String | toString(java.math.BigInteger v)Returns the string representation of the given element in this domain. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected java.lang.String name
protected java.math.BigInteger size
protected jwutil.collections.IndexMap map
| Method Detail | 
|---|
public void loadMap(java.io.BufferedReader in)
             throws java.io.IOException
in - input stream of this map
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.math.BigInteger getSize()
public void setSize(java.math.BigInteger size)
size - new sizepublic java.lang.String toString(java.math.BigInteger v)
v - element number
public jwutil.collections.IndexMap getMap()
public int namedConstant(java.lang.String constant)
constant - named constant to get
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||