Class _intSet

  • All Implemented Interfaces:
    Composition

    public final class _intSet
    extends Object
    implements Composition
    Simple primitive int set implementation.
    • Constructor Detail

      • _intSet

        public _intSet()
    • Method Detail

      • New

        public static final _intSet New()
      • New

        public static final _intSet New​(int... values)
      • NewCustom

        public static final _intSet NewCustom​(int initialCapacity)
      • NewCustom

        public static final _intSet NewCustom​(int initialCapacity,
                                              int... values)
      • size

        public final int size()
      • contains

        public final boolean contains​(int value)
      • addAll

        public final _intSet addAll​(int... values)
      • add

        public final boolean add​(int value)
      • remove

        public final boolean remove​(int value)
      • clear

        public final void clear()
      • ensureFreeCapacity

        public final _intSet ensureFreeCapacity​(int freeCapacity)
      • iterate

        public final <P extends _intProcedure> P iterate​(P procedure)
      • toArray

        public final int[] toArray()