@Generated(date="2023-04-24T17:14:49+0800",
value="AbstractKTypeCollection.java")
abstract class AbstractShortCollection
extends java.lang.Object
implements ShortCollection
| Constructor and Description |
|---|
AbstractShortCollection() |
| Modifier and Type | Method and Description |
|---|---|
int |
removeAll(ShortLookupContainer c)
Default implementation uses a predicate for removal.
|
int |
retainAll(ShortLookupContainer c)
Default implementation uses a predicate for retaining.
|
int |
retainAll(ShortPredicate predicate)
Default implementation redirects to
ShortCollection.removeAll(ShortPredicate) and
negates the predicate. |
short[] |
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(ShortLookupContainer c)
removeAll in interface ShortCollectionpublic int retainAll(ShortLookupContainer c)
retainAll in interface ShortCollectionpublic int retainAll(ShortPredicate predicate)
ShortCollection.removeAll(ShortPredicate) and
negates the predicate.retainAll in interface ShortCollectionpublic short[] toArray()
toArray in interface ShortContainerpublic java.lang.String toString()
toString in class java.lang.Object