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 Details

    • AtomSelection

      public AtomSelection(List<Integer> primaryIndexes, List<Integer> secondaryIndexes)
      Constructs an AtomSelection from lists.
      Parameters:
      primaryIndexes - primary indexes
      secondaryIndexes - secondary indexes
  • Method Details

    • 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(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public int[] primaryAtomIndexes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the primary indexes.
      Returns:
      a copy of primary indexes array
    • secondaryAtomIndexes

      @Deprecated(forRemoval=true) @SubjectToRemoval(date=JUL_01_2025) public int[] secondaryAtomIndexes()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the secondary indexes.
      Returns:
      a copy of secondary indexes array
    • toString

      public String toString()
      Creates a string representation.
      Overrides:
      toString in class Object
      Returns:
      string