Class AbstractByteCollection

    • Constructor Detail

      • AbstractByteCollection

        AbstractByteCollection()
    • Method Detail

      • removeAll

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

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

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

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