|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.util.CollectionKit
A group of static utility methods for working with the
net.sf.octet.collection package.
| Method Summary | |
static AtomMap |
createAtomMap(AtomCollection keys,
AtomCollection values)
Returns an AtomMap that maps the nth Atom
in keys with the nth Atom in
values. |
static AtomCollection |
getAtoms(AtomPairCollection pairs)
Returns an AtomCollection containing the set of
Atoms implicit in pairs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static AtomCollection getAtoms(AtomPairCollection pairs)
AtomCollection containing the set of
Atoms implicit in pairs. Among other uses, this
method can be used to generate edge-induced Subgraphs.
pairs - the collection to scan
pairs
public static AtomMap createAtomMap(AtomCollection keys,
AtomCollection values)
AtomMap that maps the nth Atom
in keys with the nth Atom in
values. If the number of Atoms in
values exceeds that of keys, the resulting
AtomMap will contain no key/value association for the unmappable
Atoms in values. If the number of Atoms
in keys exceeds that of values, the resulting
AtomMap will contain no key/value associeation for the unmappable
Atoms in keys.
keys - the key Atomsvalues - the value Atoms
keys onto values
java.lang.IllegalArgumentException - if keys contains duplicate Atoms
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||