org.homeunix.thecave.buddi.model.impl
Class FilteredLists.AccountListFilteredByType

java.lang.Object
  extended by org.homeunix.thecave.moss.data.list.FilteredList<T>
      extended by org.homeunix.thecave.buddi.model.impl.FilteredLists.AccountListFilteredByType
All Implemented Interfaces:
java.lang.Iterable<Account>, java.util.Collection<Account>, java.util.List<Account>
Enclosing class:
FilteredLists

public static class FilteredLists.AccountListFilteredByType
extends FilteredList<T>

Returns a list of all the Accounts associated with the given type.

Author:
wyatt

Field Summary
 
Fields inherited from class org.homeunix.thecave.moss.data.list.FilteredList
filteredListSource
 
Constructor Summary
FilteredLists.AccountListFilteredByType(Document model, java.util.List<Account> accounts, AccountType type)
           
 
Method Summary
 boolean isIncluded(Account object)
           
 
Methods inherited from class org.homeunix.thecave.moss.data.list.FilteredList
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, 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.List
equals, hashCode
 

Constructor Detail

FilteredLists.AccountListFilteredByType

public FilteredLists.AccountListFilteredByType(Document model,
                                               java.util.List<Account> accounts,
                                               AccountType type)
Method Detail

isIncluded

public boolean isIncluded(Account object)
Specified by:
isIncluded in class FilteredList<Account>