|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Enables the many-to-one association of Atoms. AtomMap
provides a non-index based method for redirecting Atom requests. Like all other
interfaces in the net.sf.octet.collection package, AtomMap
is immutable, meaning that all method invocations return the same result over the lifetime of
implementing objects.
| Method Summary | |
boolean |
containsKey(Atom key)
Returns true if key is contained among the keys in this
AtomMap or false otherwise. |
boolean |
containsValue(Atom value)
Returns true if value is contained among the values
in this AtomMap. |
int |
countAtomEntries()
Returns the number of associations. |
Atom |
getAtom(Atom key)
Returns the Atom associated with key. |
AtomIterator |
iterateAtomKeys()
Returns an AtomIterator over all keys. |
AtomIterator |
iterateAtomValues()
Returns an AtomIterator over all values. |
| Method Detail |
public Atom getAtom(Atom key)
Atom associated with key.
key - the Atom key
NoSuchAtomException - if key is not foundpublic int countAtomEntries()
public boolean containsKey(Atom key)
true if key is contained among the keys in this
AtomMap or false otherwise.
key - the Atom key
public boolean containsValue(Atom value)
true if value is contained among the values
in this AtomMap.
value - the Atom value
public AtomIterator iterateAtomKeys()
AtomIterator over all keys.
public AtomIterator iterateAtomValues()
AtomIterator over all values.
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||