org.semispace
Class HolderElement
java.lang.Object
org.semispace.HolderElement
- All Implemented Interfaces:
- Iterable<Holder>
public class HolderElement
- extends Object
- implements Iterable<Holder>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HolderElement
public HolderElement()
size
public int size()
createNewCollection
public static HolderElement createNewCollection(Holder holder)
removeHolderById
public Holder removeHolderById(long id)
findById
public Holder findById(long id)
- Searching for holder elements with given ID
addHolder
public void addHolder(Holder add)
toArray
public Holder[] toArray()
iterator
public Iterator<Holder> iterator()
- Specified by:
iterator
in interface Iterable<Holder>
waitHolder
public void waitHolder(long timeout)
isWaiting
public boolean isWaiting()
Copyright © 2008-2012. All Rights Reserved.