org.lobobrowser.util

Class FilteredCollection

Implemented Interfaces:
Collection

public class FilteredCollection
extends java.lang.Object
implements Collection

Constructor Summary

FilteredCollection(Collection sourceCollection, ObjectFilter filter)

Method Summary

boolean
add(Object o)
boolean
addAll(Collection c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection c)
boolean
isEmpty()
Iterator
iterator()
boolean
remove(Object o)
boolean
removeAll(Collection c)
boolean
retainAll(Collection c)
int
size()
Object[]
toArray()
Object[]
toArray(Object[] a)

Constructor Details

FilteredCollection

public FilteredCollection(Collection sourceCollection,
                          ObjectFilter filter)

Method Details

add

public boolean add(Object o)

addAll

public boolean addAll(Collection c)

clear

public void clear()

contains

public boolean contains(Object o)

containsAll

public boolean containsAll(Collection c)

isEmpty

public boolean isEmpty()

iterator

public Iterator iterator()

remove

public boolean remove(Object o)

removeAll

public boolean removeAll(Collection c)

retainAll

public boolean retainAll(Collection c)

size

public int size()

toArray

public Object[] toArray()

toArray

public Object[] toArray(Object[] a)