Class AbstractLongCollection

    • Constructor Detail

      • AbstractLongCollection

        AbstractLongCollection()
    • Method Detail

      • removeAll

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

        public int retainAll​(LongLookupContainer c)
        Default implementation uses a predicate for retaining.
        Specified by:
        retainAll in interface LongCollection
        Returns:
        Returns the number of removed elements.
      • toArray

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

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