|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--tauzaman.calendricsystem.granularitylattice.GranularityLattice.LatticeNode
LatticeNode class is a private inner class to
GranularityLattice. This class encapsulates a node's
granularity and its edges.
GranularityLattice,
GranularityLattice.LatticeEdge| Field Summary | |
java.util.Hashtable |
coarserEdges
A hash between [destination granularity --> edge to dest. granularity]. |
java.util.Hashtable |
congruentEdges
A hash between [destination granularity --> edge to dest. granularity]. |
java.util.Hashtable |
finerEdges
A hash between [destination granularity --> edge to dest. granularity]. |
Granularity |
granularity
The granularity in the calendric system that the LatticeNode is representing. |
| Constructor Summary | |
GranularityLattice.LatticeNode(Granularity g)
Construct a LatticeNode by setting the node's granularity
to the given granularity. |
|
GranularityLattice.LatticeNode(Granularity g,
java.util.Hashtable cEdges,
java.util.Hashtable cgntEdges,
java.util.Hashtable fEdges)
Construct a LatticeNode by setting the node's granularity
to the given granularity and setting the node's edges to the given
lists of edges. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
toString()
Returns a string representation of the lattice node. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public Granularity granularity
public java.util.Hashtable coarserEdges
public java.util.Hashtable congruentEdges
public java.util.Hashtable finerEdges
| Constructor Detail |
public GranularityLattice.LatticeNode(Granularity g)
LatticeNode by setting the node's granularity
to the given granularity.
g - the granularity this node is to represent
public GranularityLattice.LatticeNode(Granularity g,
java.util.Hashtable cEdges,
java.util.Hashtable cgntEdges,
java.util.Hashtable fEdges)
LatticeNode by setting the node's granularity
to the given granularity and setting the node's edges to the given
lists of edges.
g - the granularity this node is to representcEdges - the list of edges that lead to granularities coarser
than this onecgntEdges - the list of edges that lead to granularities
congruent to this onefEdges - the list of edges that lead to granularities finer
than this one| Method Detail |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object with which to compare this one
true<\code> if this object is the same as the obj
argument; false<\code> otherwisepublic java.lang.String toString()
toString in class java.lang.Object
|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||