public abstract class AbstractSelection extends Object implements IChemObjectSelection
IChemObject
s.Modifier and Type | Field and Description |
---|---|
static IChemObjectSelection |
EMPTY_SELECTION
Static implementation of an empty selection.
|
Constructor and Description |
---|
AbstractSelection() |
Modifier and Type | Method and Description |
---|---|
protected void |
addToAtomContainer(IAtomContainer ac,
IChemObject item)
Utility method to add an
IChemObject to an IAtomContainer . |
void |
select(IChemModel chemModel)
Perform a selection by some method.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contains, elements, getConnectedAtomContainer, isFilled
public static IChemObjectSelection EMPTY_SELECTION
public void select(IChemModel chemModel)
select
in interface IChemObjectSelection
chemModel
- an IChemModel to select from.protected void addToAtomContainer(IAtomContainer ac, IChemObject item)
IChemObject
to an IAtomContainer
.ac
- the IAtomContainer
to add toitem
- the IChemObject
to addCopyright © 2021. All rights reserved.