Class SuggestionDocumentGroup

  • All Implemented Interfaces:
    java.lang.Iterable<SuggestionGroup>, java.util.Collection<SuggestionGroup>

    public class SuggestionDocumentGroup
    extends java.util.AbstractCollection<SuggestionGroup>
    Container for suggestion groups all coming from a single document. No guarantees about layers and features though.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(SuggestionGroup aGroup)  
      java.lang.String getDocumentName()  
      boolean isEmpty()  
      java.util.Iterator<SuggestionGroup> iterator()  
      int size()  
      • Methods inherited from class java.util.AbstractCollection

        addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
    • Constructor Detail

      • SuggestionDocumentGroup

        public SuggestionDocumentGroup()
      • SuggestionDocumentGroup

        public SuggestionDocumentGroup​(java.util.List<AnnotationSuggestion> aSuggestions)
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<SuggestionGroup>
        Specified by:
        size in class java.util.AbstractCollection<SuggestionGroup>
      • getDocumentName

        public java.lang.String getDocumentName()
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<SuggestionGroup>
        Overrides:
        isEmpty in class java.util.AbstractCollection<SuggestionGroup>