Class AtomSelection
- java.lang.Object
-
- com.chemaxon.calculations.stereoanal.stereocenters.AtomSelection
-
@Beta @PublicAPI public class AtomSelection extends Object
Selection which contains atom indexes.Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
- Since:
- Marvin 6.2
-
-
Constructor Summary
Constructors Constructor Description AtomSelection(int[] primaryIndexes, int[] secondaryIndexes)
Deprecated.AtomSelection(int primaryIndex, int[] secondaryIndexes)
Deprecated.AtomSelection(List<Integer> primaryIndexes, List<Integer> secondaryIndexes)
Constructs an AtomSelection from lists.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Integer>
getPrimaryIndexes()
Gets the primary indexes.List<Integer>
getSecondaryIndexes()
Gets the secondary indexes.int[]
primaryAtomIndexes()
Deprecated.int[]
secondaryAtomIndexes()
Deprecated.String
toString()
Creates a string representation.
-
-
-
Constructor Detail
-
AtomSelection
public AtomSelection(List<Integer> primaryIndexes, List<Integer> secondaryIndexes)
Constructs an AtomSelection from lists.- Parameters:
primaryIndexes
- primary indexessecondaryIndexes
- secondary indexes
-
AtomSelection
@Deprecated public AtomSelection(int[] primaryIndexes, int[] secondaryIndexes)
Deprecated.Constructs an AtomSelection from arrays.- Parameters:
primaryIndexes
- primary indexessecondaryIndexes
- secondary indexes
-
AtomSelection
@Deprecated public AtomSelection(int primaryIndex, int[] secondaryIndexes)
Deprecated.Constructs an AtomSelection.- Parameters:
primaryIndex
- primary indexsecondaryIndexes
- secondary indexes
-
-
Method Detail
-
getPrimaryIndexes
public List<Integer> getPrimaryIndexes()
Gets the primary indexes.- Returns:
- list of primary indexes
-
getSecondaryIndexes
public List<Integer> getSecondaryIndexes()
Gets the secondary indexes.- Returns:
- list of secondary indexes
-
primaryAtomIndexes
@Deprecated public int[] primaryAtomIndexes()
Deprecated.Gets the primary indexes.- Returns:
- a copy of primary indexes array
-
secondaryAtomIndexes
@Deprecated public int[] secondaryAtomIndexes()
Deprecated.Gets the secondary indexes.- Returns:
- a copy of secondary indexes array
-
-