Class StructLikeSet

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean add​(StructLike struct)  
      boolean addAll​(java.util.Collection<? extends StructLike> structs)  
      void clear()  
      boolean contains​(java.lang.Object obj)  
      boolean containsAll​(java.util.Collection<?> objects)  
      static StructLikeSet create​(Types.StructType type)  
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      boolean isEmpty()  
      java.util.Iterator<StructLike> iterator()  
      boolean remove​(java.lang.Object obj)  
      boolean removeAll​(java.util.Collection<?> objects)  
      boolean retainAll​(java.util.Collection<?> objects)  
      int size()  
      java.lang.Object[] toArray()  
      <T> T[] toArray​(T[] destArray)  
      • Methods inherited from class java.util.AbstractCollection

        toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, 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

        spliterator
    • Method Detail

      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<StructLike>
        Specified by:
        size in interface java.util.Set<StructLike>
        Specified by:
        size in class java.util.AbstractCollection<StructLike>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<StructLike>
        Specified by:
        isEmpty in interface java.util.Set<StructLike>
        Overrides:
        isEmpty in class java.util.AbstractCollection<StructLike>
      • contains

        public boolean contains​(java.lang.Object obj)
        Specified by:
        contains in interface java.util.Collection<StructLike>
        Specified by:
        contains in interface java.util.Set<StructLike>
        Overrides:
        contains in class java.util.AbstractCollection<StructLike>
      • iterator

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

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

        public <T> T[] toArray​(T[] destArray)
        Specified by:
        toArray in interface java.util.Collection<StructLike>
        Specified by:
        toArray in interface java.util.Set<StructLike>
        Overrides:
        toArray in class java.util.AbstractCollection<StructLike>
      • add

        public boolean add​(StructLike struct)
        Specified by:
        add in interface java.util.Collection<StructLike>
        Specified by:
        add in interface java.util.Set<StructLike>
        Overrides:
        add in class java.util.AbstractCollection<StructLike>
      • remove

        public boolean remove​(java.lang.Object obj)
        Specified by:
        remove in interface java.util.Collection<StructLike>
        Specified by:
        remove in interface java.util.Set<StructLike>
        Overrides:
        remove in class java.util.AbstractCollection<StructLike>
      • containsAll

        public boolean containsAll​(java.util.Collection<?> objects)
        Specified by:
        containsAll in interface java.util.Collection<StructLike>
        Specified by:
        containsAll in interface java.util.Set<StructLike>
        Overrides:
        containsAll in class java.util.AbstractCollection<StructLike>
      • addAll

        public boolean addAll​(java.util.Collection<? extends StructLike> structs)
        Specified by:
        addAll in interface java.util.Collection<StructLike>
        Specified by:
        addAll in interface java.util.Set<StructLike>
        Overrides:
        addAll in class java.util.AbstractCollection<StructLike>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> objects)
        Specified by:
        retainAll in interface java.util.Collection<StructLike>
        Specified by:
        retainAll in interface java.util.Set<StructLike>
        Overrides:
        retainAll in class java.util.AbstractCollection<StructLike>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> objects)
        Specified by:
        removeAll in interface java.util.Collection<StructLike>
        Specified by:
        removeAll in interface java.util.Set<StructLike>
        Overrides:
        removeAll in class java.util.AbstractSet<StructLike>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<StructLike>
        Specified by:
        clear in interface java.util.Set<StructLike>
        Overrides:
        clear in class java.util.AbstractCollection<StructLike>
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Collection<StructLike>
        Specified by:
        equals in interface java.util.Set<StructLike>
        Overrides:
        equals in class java.util.AbstractSet<StructLike>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Collection<StructLike>
        Specified by:
        hashCode in interface java.util.Set<StructLike>
        Overrides:
        hashCode in class java.util.AbstractSet<StructLike>