| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.lookup.CollectionIncomplete<T>
T - The type that the collection stores internallypublic class CollectionIncomplete<T>
A Collection that may be truncated
| Constructor Summary | |
|---|---|
| CollectionIncomplete(Collection<T> collection,
                                         Long actualSizeIfTruncated)Collection that may be incomplete/truncated | |
| Method Summary | ||
|---|---|---|
|  void | add(int arg0,
       T arg1) | |
|  boolean | add(T arg0) | |
|  boolean | addAll(Collection<? extends T> arg0) | |
|  boolean | addAll(int arg0,
             Collection<? extends T> arg1) | |
|  void | clear() | |
|  boolean | contains(Object arg0) | |
|  boolean | containsAll(Collection<?> arg0) | |
|  boolean | equals(Object arg0) | |
|  T | get(int arg0) | |
|  Long | getActualSizeIfTruncated()Get the actual collection size if the collection was truncated | |
|  int | hashCode() | |
|  int | indexOf(Object arg0) | |
|  boolean | isEmpty() | |
|  Iterator<T> | iterator() | |
|  int | lastIndexOf(Object arg0) | |
|  ListIterator<T> | listIterator() | |
|  ListIterator | listIterator(int arg0) | |
|  T | remove(int arg0) | |
|  boolean | remove(Object arg0) | |
|  boolean | removeAll(Collection<?> arg0) | |
|  boolean | retainAll(Collection<?> arg0) | |
|  T | set(int arg0,
       T arg1) | |
|  void | setActualSizeIfTruncated(Long actualSizeIfTruncated)Set the actual collection size if the collection was truncated | |
|  int | size() | |
|  List<T> | subList(int arg0,
               int arg1) | |
|  Object[] | toArray() | |
| 
 | toArray(T[] arg0) | |
|  String | toString() | |
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public CollectionIncomplete(Collection<T> collection,
                            Long actualSizeIfTruncated)
collection - actualSizeIfTruncated - the actual collection size before truncation.  Zero if the collection is not truncated.| Method Detail | 
|---|
public void add(int arg0,
                T arg1)
add in interface List<T>List.add(int, Object)public boolean add(T arg0)
add in interface Collection<T>add in interface List<T>List.add(Object)
public boolean addAll(int arg0,
                      Collection<? extends T> arg1)
addAll in interface List<T>List.addAll(int, java.util.Collection)public boolean addAll(Collection<? extends T> arg0)
addAll in interface Collection<T>addAll in interface List<T>List.addAll(java.util.Collection)public void clear()
clear in interface Collection<T>clear in interface List<T>List.clear()public boolean contains(Object arg0)
contains in interface Collection<T>contains in interface List<T>List.contains(Object)public boolean containsAll(Collection<?> arg0)
containsAll in interface Collection<T>containsAll in interface List<T>List.containsAll(java.util.Collection)public boolean equals(Object arg0)
equals in interface Collection<T>equals in interface List<T>equals in class ObjectList.equals(Object)public T get(int arg0)
get in interface List<T>List.get(int)public int hashCode()
hashCode in interface Collection<T>hashCode in interface List<T>hashCode in class ObjectList.hashCode()public int indexOf(Object arg0)
indexOf in interface List<T>List.indexOf(Object)public boolean isEmpty()
isEmpty in interface Collection<T>isEmpty in interface List<T>List.isEmpty()public Iterator<T> iterator()
iterator in interface Iterable<T>iterator in interface Collection<T>iterator in interface List<T>List.iterator()public int lastIndexOf(Object arg0)
lastIndexOf in interface List<T>List.lastIndexOf(Object)public ListIterator<T> listIterator()
listIterator in interface List<T>List.listIterator()public ListIterator listIterator(int arg0)
listIterator in interface List<T>List.listIterator(int)public T remove(int arg0)
remove in interface List<T>List.remove(int)public boolean remove(Object arg0)
remove in interface Collection<T>remove in interface List<T>List.remove(Object)public boolean removeAll(Collection<?> arg0)
removeAll in interface Collection<T>removeAll in interface List<T>List.removeAll(java.util.Collection)public boolean retainAll(Collection<?> arg0)
retainAll in interface Collection<T>retainAll in interface List<T>List.retainAll(java.util.Collection)
public T set(int arg0,
             T arg1)
set in interface List<T>List.set(int, Object)public int size()
size in interface Collection<T>size in interface List<T>List.size()
public List<T> subList(int arg0,
                       int arg1)
subList in interface List<T>List.subList(int, int)public Object[] toArray()
toArray in interface Collection<T>toArray in interface List<T>List.toArray()public <T> T[] toArray(T[] arg0)
toArray in interface Collection<T>toArray in interface List<T>List.toArray(Object[])public String toString()
toString in class Objectjava.util.List#toString()public Long getActualSizeIfTruncated()
 For non-truncated collection the getActualSizeIfTruncated is zero.
 
public void setActualSizeIfTruncated(Long actualSizeIfTruncated)
actualSizeIfTruncated - The actualSizeIfTruncated to set.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||