org.semispace
Class HolderElement

java.lang.Object
  extended by org.semispace.HolderElement
All Implemented Interfaces:
Iterable<Holder>

public class HolderElement
extends Object
implements Iterable<Holder>


Constructor Summary
HolderElement()
           
 
Method Summary
 void addHolder(Holder add)
           
static HolderElement createNewCollection(Holder holder)
           
 Holder findById(long id)
          Searching for holder elements with given ID
 boolean isWaiting()
           
 Iterator<Holder> iterator()
           
 Holder removeHolderById(long id)
           
 int size()
           
 Holder[] toArray()
           
 void waitHolder(long timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HolderElement

public HolderElement()
Method Detail

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.