Class ReadOnlyDataContainerBackedKeySet

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

    @Deprecated
    public class ReadOnlyDataContainerBackedKeySet
    extends java.lang.Object
    implements java.util.Set<java.lang.Object>
    Deprecated.
    DataContainer keySet method will be removed in the future. See DataContainer.keySet()
    A Set view of keys in a data container, which is read-only and has efficient contains(), unlike some data container ley sets.
    Since:
    4.1
    Author:
    Manik Surtani
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean add​(java.lang.Object o)
      Deprecated.
       
      boolean addAll​(java.util.Collection<?> c)
      Deprecated.
       
      void clear()
      Deprecated.
       
      boolean contains​(java.lang.Object o)
      Deprecated.
       
      boolean containsAll​(java.util.Collection<?> c)
      Deprecated.
       
      boolean isEmpty()
      Deprecated.
       
      java.util.Iterator<java.lang.Object> iterator()
      Deprecated.
       
      boolean remove​(java.lang.Object o)
      Deprecated.
       
      boolean removeAll​(java.util.Collection<?> c)
      Deprecated.
       
      boolean retainAll​(java.util.Collection<?> c)
      Deprecated.
       
      int size()
      Deprecated.
       
      java.lang.Object[] toArray()
      Deprecated.
       
      <T> T[] toArray​(T[] a)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

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

        forEach
      • Methods inherited from interface java.util.Set

        equals, hashCode, spliterator
    • Constructor Detail

      • ReadOnlyDataContainerBackedKeySet

        public ReadOnlyDataContainerBackedKeySet​(DataContainer container)
        Deprecated.
    • Method Detail

      • size

        public int size()
        Deprecated.
        Specified by:
        size in interface java.util.Collection<java.lang.Object>
        Specified by:
        size in interface java.util.Set<java.lang.Object>
      • isEmpty

        public boolean isEmpty()
        Deprecated.
        Specified by:
        isEmpty in interface java.util.Collection<java.lang.Object>
        Specified by:
        isEmpty in interface java.util.Set<java.lang.Object>
      • contains

        public boolean contains​(java.lang.Object o)
        Deprecated.
        Specified by:
        contains in interface java.util.Collection<java.lang.Object>
        Specified by:
        contains in interface java.util.Set<java.lang.Object>
      • iterator

        public java.util.Iterator<java.lang.Object> iterator()
        Deprecated.
        Specified by:
        iterator in interface java.util.Collection<java.lang.Object>
        Specified by:
        iterator in interface java.lang.Iterable<java.lang.Object>
        Specified by:
        iterator in interface java.util.Set<java.lang.Object>
      • toArray

        public java.lang.Object[] toArray()
        Deprecated.
        Specified by:
        toArray in interface java.util.Collection<java.lang.Object>
        Specified by:
        toArray in interface java.util.Set<java.lang.Object>
      • toArray

        public <T> T[] toArray​(T[] a)
        Deprecated.
        Specified by:
        toArray in interface java.util.Collection<java.lang.Object>
        Specified by:
        toArray in interface java.util.Set<java.lang.Object>
      • add

        public boolean add​(java.lang.Object o)
        Deprecated.
        Specified by:
        add in interface java.util.Collection<java.lang.Object>
        Specified by:
        add in interface java.util.Set<java.lang.Object>
      • remove

        public boolean remove​(java.lang.Object o)
        Deprecated.
        Specified by:
        remove in interface java.util.Collection<java.lang.Object>
        Specified by:
        remove in interface java.util.Set<java.lang.Object>
      • containsAll

        public boolean containsAll​(java.util.Collection<?> c)
        Deprecated.
        Specified by:
        containsAll in interface java.util.Collection<java.lang.Object>
        Specified by:
        containsAll in interface java.util.Set<java.lang.Object>
      • addAll

        public boolean addAll​(java.util.Collection<?> c)
        Deprecated.
        Specified by:
        addAll in interface java.util.Collection<java.lang.Object>
        Specified by:
        addAll in interface java.util.Set<java.lang.Object>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> c)
        Deprecated.
        Specified by:
        retainAll in interface java.util.Collection<java.lang.Object>
        Specified by:
        retainAll in interface java.util.Set<java.lang.Object>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> c)
        Deprecated.
        Specified by:
        removeAll in interface java.util.Collection<java.lang.Object>
        Specified by:
        removeAll in interface java.util.Set<java.lang.Object>
      • clear

        public void clear()
        Deprecated.
        Specified by:
        clear in interface java.util.Collection<java.lang.Object>
        Specified by:
        clear in interface java.util.Set<java.lang.Object>