public abstract class AbstractPrimitiveCollectable<N> extends Object implements PrimitiveCollectable<N>
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrimitiveCollectable()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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, wait
clear, size
protected AbstractPrimitiveCollectable()
public void optimize()
This implementation does nothing.
optimize
in interface PrimitiveCollectable<N>
public boolean isModifiable()
This implementation returns false.
isModifiable
in interface PrimitiveCollectable<N>
false
public boolean isEmpty()
isEmpty
in interface PrimitiveCollectable<N>
Copyright © 2005-2012 Joda.org. All Rights Reserved.