Class AbstractIntCollection

    • Constructor Detail

      • AbstractIntCollection

        AbstractIntCollection()
    • Method Detail

      • 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.
      • toArray

        public int[] toArray()
        Default implementation of copying to an array.
        Specified by:
        toArray in interface IntContainer
      • toString

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