E
- Entity typepublic class Model<E> extends Object implements List<E>
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E entity) |
void |
add(int index,
E entity) |
boolean |
addAll(Collection<? extends E> entities) |
boolean |
addAll(int index,
Collection<? extends E> entities) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> entities) |
E |
get(int index) |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
E |
remove(int index) |
boolean |
remove(Object entity) |
boolean |
removeAll(Collection<?> entities) |
boolean |
retainAll(Collection<?> entities) |
E |
set(int index,
E entity) |
int |
size() |
List<E> |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public int size()
public boolean isEmpty()
public boolean contains(Object o)
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean add(E entity)
public boolean remove(Object entity)
public boolean containsAll(Collection<?> entities)
containsAll
in interface Collection<E>
containsAll
in interface List<E>
public boolean addAll(Collection<? extends E> entities)
public boolean addAll(int index, Collection<? extends E> entities)
public boolean removeAll(Collection<?> entities)
public boolean retainAll(Collection<?> entities)
public void clear()
public int lastIndexOf(Object o)
lastIndexOf
in interface List<E>
public ListIterator<E> listIterator()
listIterator
in interface List<E>
public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
Copyright © 2018 Xalys. All rights reserved.