A - the array item typepublic abstract class ImmutableBase<A> extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Modifying operation - not allowed.
|
boolean |
isEmpty()
Return
true if the collection is empty. |
int |
size()
Get the number of elements in the collection.
|
public int size()
public boolean isEmpty()
true if the collection is empty.true if the collection is emptypublic void clear()
UnsupportedOperationException - (in all cases)Copyright © 2021. All rights reserved.