public class JoinedList<E> extends Object implements List<E>
Constructor and Description |
---|
JoinedList(List<E>... lists) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(E arg0) |
void |
add(int arg0,
E arg1) |
boolean |
addAll(Collection<? extends E> arg0) |
boolean |
addAll(int arg0,
Collection<? extends E> arg1) |
void |
clear() |
boolean |
contains(Object needle) |
boolean |
containsAll(Collection<?> needles) |
E |
get(int i) |
int |
indexOf(Object needle) |
boolean |
isEmpty() |
Iterator<E> |
iterator() |
int |
lastIndexOf(Object needle) |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int arg0) |
E |
remove(int arg0) |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection<?> arg0) |
boolean |
retainAll(Collection<?> arg0) |
E |
set(int arg0,
E arg1) |
int |
size() |
List<E> |
subList(int arg0,
int arg1) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public boolean add(E arg0)
public boolean addAll(Collection<? extends E> arg0)
public boolean addAll(int arg0, Collection<? extends E> arg1)
public void clear()
public boolean contains(Object needle)
public boolean containsAll(Collection<?> needles)
containsAll
in interface Collection<E>
containsAll
in interface List<E>
public boolean isEmpty()
public int lastIndexOf(Object needle)
lastIndexOf
in interface List<E>
public ListIterator<E> listIterator()
listIterator
in interface List<E>
public ListIterator<E> listIterator(int arg0)
listIterator
in interface List<E>
public boolean remove(Object arg0)
public boolean removeAll(Collection<?> arg0)
public boolean retainAll(Collection<?> arg0)
public int size()
public Object[] toArray()
Copyright © 2018. All rights reserved.