Class NonBlockingSetInt

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet
zombie.core.Collections.NonBlockingSetInt
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.Set

public class NonBlockingSetInt
extends java.util.AbstractSet
implements java.io.Serializable
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    NonBlockingSetInt()  
  • Method Summary

    Modifier and Type Method Description
    boolean add​(int int1)  
    boolean add​(java.lang.Integer integer)  
    void clear()  
    boolean contains​(int int1)  
    boolean contains​(java.lang.Object object)  
    NonBlockingSetInt intersect​(NonBlockingSetInt nonBlockingSetInt)  
    IntIterator intIterator()  
    java.util.Iterator iterator()  
    void print()  
    boolean remove​(int int1)  
    boolean remove​(java.lang.Object object)  
    int size()  
    int sizeInBytes()  
    NonBlockingSetInt union​(NonBlockingSetInt nonBlockingSetInt)  

    Methods inherited from class java.util.AbstractSet

    equals, hashCode, removeAll

    Methods inherited from class java.util.AbstractCollection

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

    add, addAll, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
  • Constructor Details

    • NonBlockingSetInt

      public NonBlockingSetInt()
  • Method Details

    • add

      public boolean add​(java.lang.Integer integer)
    • contains

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

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

      public boolean add​(int int1)
    • contains

      public boolean contains​(int int1)
    • remove

      public boolean remove​(int int1)
    • size

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

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

      public int sizeInBytes()
    • intersect

      public NonBlockingSetInt intersect​(NonBlockingSetInt nonBlockingSetInt)
    • union

      public NonBlockingSetInt union​(NonBlockingSetInt nonBlockingSetInt)
    • print

      public void print()
    • 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 interface java.util.Set
      Specified by:
      iterator in class java.util.AbstractCollection
    • intIterator

      public IntIterator intIterator()