Class ContextBase.ValuesImpl

  • All Implemented Interfaces:
    java.lang.Iterable, java.util.Collection
    Enclosing class:
    ContextBase

    private class ContextBase.ValuesImpl
    extends java.util.AbstractCollection

    Private implementation of Collection that implements the semantics required for the value returned by values().

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ValuesImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      boolean contains​(java.lang.Object obj)  
      boolean isEmpty()  
      java.util.Iterator iterator()  
      boolean remove​(java.lang.Object obj)  
      int size()  
      • Methods inherited from class java.util.AbstractCollection

        add, addAll, containsAll, 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

      • ValuesImpl

        private ValuesImpl()
    • Method Detail

      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection
        Overrides:
        clear in class java.util.AbstractCollection
      • contains

        public boolean contains​(java.lang.Object obj)
        Specified by:
        contains in interface java.util.Collection
        Overrides:
        contains in class java.util.AbstractCollection
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection
        Overrides:
        isEmpty in class java.util.AbstractCollection
      • iterator

        public java.util.Iterator iterator()
        Specified by:
        iterator in interface java.util.Collection
        Specified by:
        iterator in interface java.lang.Iterable
        Specified by:
        iterator in class java.util.AbstractCollection
      • remove

        public boolean remove​(java.lang.Object obj)
        Specified by:
        remove in interface java.util.Collection
        Overrides:
        remove in class java.util.AbstractCollection
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection
        Specified by:
        size in class java.util.AbstractCollection