|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.atom.iterator.ApiBuilder
public final class ApiBuilder
Provides static methods for construction of some useful pair iterators.
| Method Summary | |
|---|---|
static ApiIntragroup |
makeAdjacentPairIterator()
Pair iterator that constructs pairs from the childlist atoms of a basis, each with the atom adjacent to it in the list. |
static ApiIntergroup |
makeIntergroupTypeIterator(IAtomType[] types)
Returns an intergroup iterator that filters the iterates so that only those having the given type instances are returned. |
static ApiIntragroup |
makeNonAdjacentPairIterator()
Pair iterator that constructs pairs from the childlist atoms of a basis, each with all atoms that are not adjacent to it in the list. |
static ApiIntragroup |
makeNonAdjacentPairIterator(int numToSkip)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ApiIntragroup makeAdjacentPairIterator()
public static ApiIntragroup makeNonAdjacentPairIterator()
public static ApiIntragroup makeNonAdjacentPairIterator(int numToSkip)
public static ApiIntergroup makeIntergroupTypeIterator(IAtomType[] types)
IllegalArgumentException - if the types array is not of length 2
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||