public class TypedList extends Object implements List<Object>
NOTE: 전자정부 연계 서비스의 표준 메시지 Instance를 위한 Class이다. List Type에 해당하는 List Instance를 나타낸다.
== 개정이력(Modification Information) == 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.06.01 심상호 최초 생성
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
inner
inner list
|
protected ListType |
type
type
|
| Constructor and Description |
|---|
TypedList(ListType type)
Argument
type에 해당하는 TypedList Instance를 생성한다. |
TypedList(ListType type,
Collection<? extends Object> collection)
Argument
type에 해당하는 TypedList Instance를 생성한다. |
TypedList(ListType type,
Object array)
Argument
type에 해당하는 TypedList Instance를 생성한다. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object o) |
boolean |
addAll(Collection<? extends Object> c) |
boolean |
addAll(int index,
Collection<? extends Object> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected Object |
convertToTypedObject(Object value)
Argument
value를 TypedList에 담을 수 있는 형태로 변환한다. |
protected Collection<Object> |
convertToTypedObjects(Collection<? extends Object> c)
Argument
c에 담겨있는 값들을 TypedList에 담을 수 있는 형태로 변환한다. |
boolean |
equals(Object obj) |
Object |
get(int index) |
Type |
getElementType()
List Element의 Type을 읽어온다.
|
ListType |
getType()
Type을 읽어온다.
|
int |
hashCode() |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<Object> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<Object> |
listIterator() |
ListIterator<Object> |
listIterator(int index) |
Object |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
Object |
set(int index,
Object element) |
int |
size() |
List<Object> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
public TypedList(ListType type)
type에 해당하는 TypedList Instance를 생성한다.type - typeIllegalArgumentException - Argument type 값이 null인 경우public TypedList(ListType type, Collection<? extends Object> collection)
type에 해당하는 TypedList Instance를 생성한다. Argument
collection 에 있는 값을 저장한다.type - typecollection - collectionIllegalArgumentException - 1. Argument type 값이 null인 경우 2.
Argument collection 값이 null인 경우public TypedList(ListType type, Object array)
type에 해당하는 TypedList Instance를 생성한다. Argument
array에 있는 값을 저장한다.type - typearray - arrayIllegalArgumentException - 1. Argument type 값이 null인 경우 2.
Argument array 값이 null 이거나 array가
아닌 경우public ListType getType()
public Type getElementType()
protected Object convertToTypedObject(Object value)
value를 TypedList에 담을 수 있는 형태로 변환한다.value - valueprotected Collection<Object> convertToTypedObjects(Collection<? extends Object> c)
c에 담겨있는 값들을 TypedList에 담을 수 있는 형태로 변환한다.c - 값을 담고 있는 Collection 객체public boolean add(Object o)
public boolean addAll(Collection<? extends Object> c)
public boolean addAll(int index,
Collection<? extends Object> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll in interface Collection<Object>containsAll in interface List<Object>public boolean isEmpty()
public int lastIndexOf(Object o)
lastIndexOf in interface List<Object>public ListIterator<Object> listIterator()
listIterator in interface List<Object>public ListIterator<Object> listIterator(int index)
listIterator in interface List<Object>public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public int hashCode()
Copyright © 2015. All rights reserved.