net.ontopia.utils
Interface PoolableSetFactoryIF

All Known Implementing Classes:
SetPool

public interface PoolableSetFactoryIF

INTERNAL: Factory interface used by SetPoolIF to create new PoolableSetIF instances.

Since:
2.0

Method Summary
 PoolableSetIF createSet()
          INTERNAL: Returns a new empty poolable set.
 PoolableSetIF createSet(java.util.Set set)
          INTERNAL: Returns a new poolable set that contains the given elements.
 PoolableSetIF createSetAdd(java.util.Set set, java.lang.Object o)
          INTERNAL: Returns a new poolable set that contains the given elements plus the single object.
 PoolableSetIF createSetRemove(java.util.Set set, java.lang.Object o)
          INTERNAL: Returns a new poolable set that contains the given elements minus the single object.
 

Method Detail

createSet

PoolableSetIF createSet()
INTERNAL: Returns a new empty poolable set.


createSet

PoolableSetIF createSet(java.util.Set set)
INTERNAL: Returns a new poolable set that contains the given elements.


createSetAdd

PoolableSetIF createSetAdd(java.util.Set set,
                           java.lang.Object o)
INTERNAL: Returns a new poolable set that contains the given elements plus the single object.


createSetRemove

PoolableSetIF createSetRemove(java.util.Set set,
                              java.lang.Object o)
INTERNAL: Returns a new poolable set that contains the given elements minus the single object.



Copyright © 2000-2012 Ontopia.