Class DefaultCompoundCollectionModel.IDCodeWithName

  • All Implemented Interfaces:
    CompoundCollectionModel<java.lang.String[]>
    Enclosing class:
    DefaultCompoundCollectionModel<T>

    public static class DefaultCompoundCollectionModel.IDCodeWithName
    extends DefaultCompoundCollectionModel<java.lang.String[]>
    This version of the DefaultCompoundCollectionModel collects molecules as String[2] with idcodes & idcoords (index 0) and molecule name (index 1). The molecule access functions result in appropriate conversion. It is the preferred model when the number of handled molecules is potentially high and when the molecule name/ID needs to be retained.