Class AbstractCharCollection

    • Constructor Detail

      • AbstractCharCollection

        AbstractCharCollection()
    • Method Detail

      • removeAll

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

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

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

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