org.openjena.atlas.lib
Interface Pool<T>

All Known Implementing Classes:
PoolBase, PoolFiniteBlocking, PoolSync

public interface Pool<T>


Method Summary
 T get()
          Get an item from the pool - return null if the pool is empty
 boolean isEmpty()
           
 void put(T item)
           
 

Method Detail

put

void put(T item)

get

T get()
Get an item from the pool - return null if the pool is empty


isEmpty

boolean isEmpty()


Licenced under the Apache License, Version 2.0