E - the primitive typepublic abstract class AbstractPrimitiveCollectable<E> extends java.lang.Object implements PrimitiveCollectable<E>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPrimitiveCollectable()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone implementation that calls Object clone().
|
boolean |
isEmpty()
Checks if the collection is empty.
|
boolean |
isModifiable()
Checks whether the object can currently be modified.
|
void |
optimize()
Optimizes the implementation after initialization.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, sizeprotected AbstractPrimitiveCollectable()
public void optimize()
This implementation does nothing.
optimize in interface PrimitiveCollectable<E>public boolean isModifiable()
This implementation returns false.
isModifiable in interface PrimitiveCollectable<E>falsepublic boolean isEmpty()
isEmpty in interface PrimitiveCollectable<E>public java.lang.Object clone()
clone in interface PrimitiveCollectable<E>clone in class java.lang.ObjectCopyright © 2005–2018 Joda.org. All rights reserved.