org.apache.jena.atlas.lib.cache
Class CacheSetSync<T>

java.lang.Object
  extended by org.apache.jena.atlas.lib.cache.CacheSetSync<T>
All Implemented Interfaces:
CacheSet<T>

public class CacheSetSync<T>
extends Object
implements CacheSet<T>


Constructor Summary
CacheSetSync(CacheSet<T> cache)
           
 
Method Summary
 void add(T e)
           
 void clear()
           
 boolean contains(T obj)
           
 boolean isEmpty()
           
 void remove(T obj)
           
 long size()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheSetSync

public CacheSetSync(CacheSet<T> cache)
Method Detail

add

public void add(T e)
Specified by:
add in interface CacheSet<T>

clear

public void clear()
Specified by:
clear in interface CacheSet<T>

contains

public boolean contains(T obj)
Specified by:
contains in interface CacheSet<T>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface CacheSet<T>

remove

public void remove(T obj)
Specified by:
remove in interface CacheSet<T>

size

public long size()
Specified by:
size in interface CacheSet<T>


Licenced under the Apache License, Version 2.0