org.jboss.cache.aop.collection
Class CachedSetImpl

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractSet
          extended byorg.jboss.cache.aop.collection.CachedSetImpl
All Implemented Interfaces:
java.util.Collection, java.util.Set

public class CachedSetImpl
extends java.util.AbstractSet

Set that uses cache as a underlying backend store

Author:
Ben Wang, Scott Marlow, Jussi Py??rre

Field Summary
protected  TreeCacheAop cache_
           
protected  AbstractCollectionInterceptor interceptor_
           
 
Constructor Summary
CachedSetImpl(TreeCacheAop cache, AbstractCollectionInterceptor interceptor)
           
 
Method Summary
 boolean add(java.lang.Object o)
           
 boolean contains(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
protected  Fqn getFqn()
           
protected  DataNode getNode()
           
 java.util.Iterator iterator()
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.AbstractSet
hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Field Detail

cache_

protected TreeCacheAop cache_

interceptor_

protected AbstractCollectionInterceptor interceptor_
Constructor Detail

CachedSetImpl

public CachedSetImpl(TreeCacheAop cache,
                     AbstractCollectionInterceptor interceptor)
Method Detail

getNode

protected DataNode getNode()

getFqn

protected Fqn getFqn()

size

public int size()

iterator

public java.util.Iterator iterator()

add

public boolean add(java.lang.Object o)

contains

public boolean contains(java.lang.Object o)

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)


Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.