protected class OldCache.ValuesCollection extends SafeHashMap.ValuesCollection
| Modifier | Constructor and Description |
|---|---|
protected |
ValuesCollection() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
toArray(Object[] ao)
Returns an array with a runtime type is that of the specified array and that contains all of the elements in this collection.
|
clear, iterator, size, toArrayadd, addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCode, parallelStream, removeIf, spliterator, streampublic Object[] toArray(Object[] ao)
If the collection fits in the specified array with room to spare (i.e., the array has more elements than the collection), the element in the array immediately following the end of the collection is set to null. This is useful in determining the length of the collection only if the caller knows that the collection does not contain any null elements.)
toArray in interface CollectiontoArray in class SafeHashMap.ValuesCollectionao - the array into which the elements of the collection are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purposeArrayStoreException - if the runtime type of the specified array is not a supertype of the runtime type of every element in this collection