Class MultiviewSet<T>

    • Field Detail

      • myCommonSet

        private final java.util.Set<T> myCommonSet
      • myRemoveFromViews

        private final boolean myRemoveFromViews
    • Method Detail

      • add

        public boolean add​(T entry)
        Add an entry to the common Set and all Queue:s.
      • clear

        public void clear()
      • isAnyContents

        public boolean isAnyContents()
        Returns:
        true if the main set or any of the priority queues have any contents
      • isEmpty

        public boolean isEmpty()
      • remove

        public boolean remove​(T entry)
        Remove an entry from the common Set and all Queue:s.
      • size

        public int size()