public class LazyCollection extends Object implements Collection<Tuple>, ResettableCollection<Iterator<Tuple>>
Constructor and Description |
---|
LazyCollection(Collection<Tuple> parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Tuple objects) |
boolean |
addAll(Collection<? extends Tuple> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
static Collection<Tuple> |
getParent(LazyCollection collection) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<Tuple> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
void |
reset(Iterator<Tuple> iterator) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public LazyCollection(Collection<Tuple> parent)
public static Collection<Tuple> getParent(LazyCollection collection)
public int size()
size
in interface Collection<Tuple>
public boolean isEmpty()
isEmpty
in interface Collection<Tuple>
public boolean contains(Object o)
contains
in interface Collection<Tuple>
public Object[] toArray()
toArray
in interface Collection<Tuple>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<Tuple>
public boolean add(Tuple objects)
add
in interface Collection<Tuple>
public boolean remove(Object o)
remove
in interface Collection<Tuple>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Tuple>
public boolean addAll(Collection<? extends Tuple> c)
addAll
in interface Collection<Tuple>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<Tuple>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<Tuple>
public void clear()
clear
in interface Collection<Tuple>
public boolean equals(Object o)
equals
in interface Collection<Tuple>
equals
in class Object
public int hashCode()
hashCode
in interface Collection<Tuple>
hashCode
in class Object
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.