Documentation of 'com.carrotsearch.hppc.IntScatterSet' Java class
IntScatterSet
com.carrotsearch.hppc

Class IntScatterSet

    • Constructor Detail

      • IntScatterSet

        public IntScatterSet()
        New instance with sane defaults.
      • IntScatterSet

        public IntScatterSet(int expectedElements)
        New instance with sane defaults.
      • IntScatterSet

        public IntScatterSet(int expectedElements,
                             double loadFactor)
        New instance with sane defaults.
    • Method Detail

      • from

        public static IntScatterSet from(int... elements)
        Create a set from a variable number of arguments or an array of int. The elements are copied from the argument to the internal buffer.
      • removeAll

        public int removeAll(IntLookupContainer c)
        Default implementation uses a predicate for removal.
        Specified by:
        removeAll in interface IntCollection
        Returns:
        Returns the number of removed elements.
      • retainAll

        public int retainAll(IntLookupContainer c)
        Default implementation uses a predicate for retaining.
        Specified by:
        retainAll in interface IntCollection
        Returns:
        Returns the number of removed elements.
      • toString

        public java.lang.String toString()
        Convert the contents of this container to a human-friendly string.
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.