Class DocumentSelectionSignature.DocumentSelectionSignatureAtom

  • Enclosing class:
    DocumentSelectionSignature

    public static final class DocumentSelectionSignature.DocumentSelectionSignatureAtom
    extends java.lang.Object
    A signature is a set of Atoms.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int from
      Repeated N (from <= N < to) times.
      java.lang.Class selectionClass
      Either an actual document class or one of the interfaces which a document may implement.
      int to
      Repeated N (from <= N < to) times.
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentSelectionSignatureAtom​(java.lang.Class classOfSelected, int from, int to)
      constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object atom)
      compare two atoms.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • selectionClass

        public final java.lang.Class selectionClass
        Either an actual document class or one of the interfaces which a document may implement. (SequenceDocument etc).
      • from

        public final int from
        Repeated N (from <= N < to) times.
      • to

        public final int to
        Repeated N (from <= N < to) times.
    • Constructor Detail

      • DocumentSelectionSignatureAtom

        public DocumentSelectionSignatureAtom​(java.lang.Class classOfSelected,
                                              int from,
                                              int to)
        constructor.
        Parameters:
        classOfSelected - class of selected documents
        from - lower bound of number of documents
        to - upper bound of number of documents
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object atom)
        compare two atoms.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        atom -
        Returns:
        true is equal.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object