org.semanticweb.elk.util.collections
Class LazyCollectionMinusSet<I>

java.lang.Object
  extended by java.util.AbstractCollection<I>
      extended by org.semanticweb.elk.util.collections.LazyCollectionMinusSet<I>
All Implemented Interfaces:
Iterable<I>, Collection<I>

public class LazyCollectionMinusSet<I>
extends AbstractCollection<I>

Author:
Pavel Klinov pavel.klinov@uni-ulm.de

Constructor Summary
LazyCollectionMinusSet(Collection<I> collection, Set<I> set)
           
 
Method Summary
 boolean contains(Object o)
           
 boolean isEmpty()
           
 Iterator<I> iterator()
           
 boolean remove(Object o)
           
 int size()
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, removeAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

LazyCollectionMinusSet

public LazyCollectionMinusSet(Collection<I> collection,
                              Set<I> set)
Method Detail

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<I>
Overrides:
isEmpty in class AbstractCollection<I>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<I>
Overrides:
contains in class AbstractCollection<I>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<I>
Overrides:
remove in class AbstractCollection<I>

iterator

public Iterator<I> iterator()
Specified by:
iterator in interface Iterable<I>
Specified by:
iterator in interface Collection<I>
Specified by:
iterator in class AbstractCollection<I>

size

public int size()
Specified by:
size in interface Collection<I>
Specified by:
size in class AbstractCollection<I>


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.