@Generated(date="2023-04-24T17:14:49+0800",
value="AbstractKTypeCollection.java")
abstract class AbstractLongCollection
extends java.lang.Object
implements LongCollection
| Constructor and Description |
|---|
AbstractLongCollection() |
| Modifier and Type | Method and Description |
|---|---|
int |
removeAll(LongLookupContainer c)
Default implementation uses a predicate for removal.
|
int |
retainAll(LongLookupContainer c)
Default implementation uses a predicate for retaining.
|
int |
retainAll(LongPredicate predicate)
Default implementation redirects to
LongCollection.removeAll(LongPredicate) and
negates the predicate. |
long[] |
toArray()
Default implementation of copying to an array.
|
java.lang.String |
toString()
Convert the contents of this container to a human-friendly string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, release, removeAll, removeAllpublic int removeAll(LongLookupContainer c)
removeAll in interface LongCollectionpublic int retainAll(LongLookupContainer c)
retainAll in interface LongCollectionpublic int retainAll(LongPredicate predicate)
LongCollection.removeAll(LongPredicate) and
negates the predicate.retainAll in interface LongCollectionpublic long[] toArray()
toArray in interface LongContainerpublic java.lang.String toString()
toString in class java.lang.Object