public class BeanCollection<T> extends AbstractCollection
| 限定符和类型 | 字段和说明 |
|---|---|
protected BeanTransformer |
beanTransformer |
protected Collection<T> |
collection |
| 构造器和说明 |
|---|
BeanCollection(Collection<T> collection) |
BeanCollection(Collection<T> collection,
BeanTransformer beanTransformer) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection c) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isEmpty() |
Iterator |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection c) |
boolean |
retainAll(Collection c) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
String |
toString() |
protected final Collection<T> collection
protected final BeanTransformer beanTransformer
public BeanCollection(Collection<T> collection, BeanTransformer beanTransformer)
public BeanCollection(Collection<T> collection)
public Iterator iterator()
iterator 在接口中 Iterableiterator 在接口中 Collectioniterator 在类中 AbstractCollectionpublic Object[] toArray()
toArray 在接口中 CollectiontoArray 在类中 AbstractCollectionpublic Object[] toArray(Object[] a)
toArray 在接口中 CollectiontoArray 在类中 AbstractCollectionpublic boolean add(Object o)
add 在接口中 Collectionadd 在类中 AbstractCollectionpublic boolean remove(Object o)
remove 在接口中 Collectionremove 在类中 AbstractCollectionpublic boolean addAll(Collection c)
addAll 在接口中 CollectionaddAll 在类中 AbstractCollectionpublic void clear()
clear 在接口中 Collectionclear 在类中 AbstractCollectionpublic boolean equals(Object o)
equals 在接口中 Collectionequals 在类中 Objectpublic int hashCode()
hashCode 在接口中 CollectionhashCode 在类中 Objectpublic int size()
size 在接口中 Collectionsize 在类中 AbstractCollectionpublic boolean isEmpty()
isEmpty 在接口中 CollectionisEmpty 在类中 AbstractCollectionpublic boolean contains(Object o)
contains 在接口中 Collectioncontains 在类中 AbstractCollectionpublic boolean containsAll(Collection c)
containsAll 在接口中 CollectioncontainsAll 在类中 AbstractCollectionpublic boolean retainAll(Collection c)
retainAll 在接口中 CollectionretainAll 在类中 AbstractCollectionpublic boolean removeAll(Collection c)
removeAll 在接口中 CollectionremoveAll 在类中 AbstractCollectionpublic String toString()
toString 在类中 AbstractCollectionCopyright © 2014–2016. All rights reserved.