Class TroveIntegerSet

java.lang.Object
com.gigaspaces.internal.collections.trove.TroveIntegerSet
All Implemented Interfaces:
IntegerSet

public class TroveIntegerSet extends Object implements IntegerSet
Since:
12.0
Author:
Niv Ingberg
  • Constructor Details

    • TroveIntegerSet

      public TroveIntegerSet()
    • TroveIntegerSet

      public TroveIntegerSet(int initialCapacity)
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface IntegerSet
    • size

      public int size()
      Specified by:
      size in interface IntegerSet
    • contains

      public boolean contains(int val)
      Specified by:
      contains in interface IntegerSet
    • add

      public boolean add(int val)
      Specified by:
      add in interface IntegerSet
    • toArray

      public int[] toArray()
      Specified by:
      toArray in interface IntegerSet