choco.kernel.common.util.disposable
Class Disposable
java.lang.Object
choco.kernel.common.util.disposable.Disposable
- Direct Known Subclasses:
- DisposableIntIterator, DisposableIterator
public abstract class Disposable
- extends Object
User : cprudhom
Mail : cprudhom(a)emn.fr
Date : 28 avr. 2010
Since : Choco 2.1.1
An interface to declare disposable object, ie object that can be reused (iterators,...)
Method Summary |
void |
dispose()
This method allows to declare that an object is not used anymore. |
protected void |
init()
|
boolean |
reusable()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Disposable
public Disposable()
init
protected void init()
dispose
public void dispose()
- This method allows to declare that an object is not used anymore. It
can be reused by another object.
reusable
public final boolean reusable()
Copyright © 2012. All Rights Reserved.