org.kuali.rice.krad.lookup
Class CollectionIncomplete<T>
java.lang.Object
org.kuali.rice.krad.lookup.CollectionIncomplete<T>
- All Implemented Interfaces:
- Serializable, Iterable<T>, Collection<T>, List<T>, RandomAccess
public class CollectionIncomplete<T>
- extends Object
- implements List<T>, RandomAccess, Serializable
- See Also:
- Serialized Form
CollectionIncomplete
public CollectionIncomplete(Collection<T> collection,
Long actualSizeIfTruncated)
- Parameters:
collection
- actualSizeIfTruncated
-
add
public void add(int arg0,
T arg1)
- Specified by:
add
in interface List<T>
- Parameters:
arg0
- arg1
-
add
public boolean add(T arg0)
- Specified by:
add
in interface Collection<T>
- Specified by:
add
in interface List<T>
- Parameters:
arg0
-
- Returns:
addAll
public boolean addAll(int arg0,
Collection<? extends T> arg1)
- Specified by:
addAll
in interface List<T>
- Parameters:
arg0
- arg1
-
- Returns:
addAll
public boolean addAll(Collection<? extends T> arg0)
- Specified by:
addAll
in interface Collection<T>
- Specified by:
addAll
in interface List<T>
- Parameters:
arg0
-
- Returns:
clear
public void clear()
- Specified by:
clear
in interface Collection<T>
- Specified by:
clear
in interface List<T>
contains
public boolean contains(Object arg0)
- Specified by:
contains
in interface Collection<T>
- Specified by:
contains
in interface List<T>
- Parameters:
arg0
-
- Returns:
containsAll
public boolean containsAll(Collection<?> arg0)
- Specified by:
containsAll
in interface Collection<T>
- Specified by:
containsAll
in interface List<T>
- Parameters:
arg0
-
- Returns:
equals
public boolean equals(Object arg0)
- Specified by:
equals
in interface Collection<T>
- Specified by:
equals
in interface List<T>
- Overrides:
equals
in class Object
get
public T get(int arg0)
- Specified by:
get
in interface List<T>
- Parameters:
arg0
-
- Returns:
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Collection<T>
- Specified by:
hashCode
in interface List<T>
- Overrides:
hashCode
in class Object
indexOf
public int indexOf(Object arg0)
- Specified by:
indexOf
in interface List<T>
- Parameters:
arg0
-
- Returns:
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Collection<T>
- Specified by:
isEmpty
in interface List<T>
- Returns:
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>
- Specified by:
iterator
in interface Collection<T>
- Specified by:
iterator
in interface List<T>
- Returns:
lastIndexOf
public int lastIndexOf(Object arg0)
- Specified by:
lastIndexOf
in interface List<T>
- Parameters:
arg0
-
- Returns:
listIterator
public ListIterator<T> listIterator()
- Specified by:
listIterator
in interface List<T>
- Returns:
listIterator
public ListIterator listIterator(int arg0)
- Specified by:
listIterator
in interface List<T>
- Parameters:
arg0
-
- Returns:
remove
public T remove(int arg0)
- Specified by:
remove
in interface List<T>
- Parameters:
arg0
-
- Returns:
remove
public boolean remove(Object arg0)
- Specified by:
remove
in interface Collection<T>
- Specified by:
remove
in interface List<T>
- Parameters:
arg0
-
- Returns:
removeAll
public boolean removeAll(Collection<?> arg0)
- Specified by:
removeAll
in interface Collection<T>
- Specified by:
removeAll
in interface List<T>
- Parameters:
arg0
-
- Returns:
retainAll
public boolean retainAll(Collection<?> arg0)
- Specified by:
retainAll
in interface Collection<T>
- Specified by:
retainAll
in interface List<T>
- Parameters:
arg0
-
- Returns:
set
public T set(int arg0,
T arg1)
- Specified by:
set
in interface List<T>
- Parameters:
arg0
- arg1
-
- Returns:
size
public int size()
- Specified by:
size
in interface Collection<T>
- Specified by:
size
in interface List<T>
- Returns:
subList
public List<T> subList(int arg0,
int arg1)
- Specified by:
subList
in interface List<T>
- Parameters:
arg0
- arg1
-
- Returns:
toArray
public Object[] toArray()
- Specified by:
toArray
in interface Collection<T>
- Specified by:
toArray
in interface List<T>
- Returns:
toArray
public <T> T[] toArray(T[] arg0)
- Specified by:
toArray
in interface Collection<T>
- Specified by:
toArray
in interface List<T>
- Parameters:
arg0
-
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
getActualSizeIfTruncated
public Long getActualSizeIfTruncated()
- Returns:
- Returns the actualSizeIfTruncated.
setActualSizeIfTruncated
public void setActualSizeIfTruncated(Long actualSizeIfTruncated)
- Parameters:
actualSize
- The actualSizeIfTruncated to set.
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.