X
- Type of source itempublic final class Joined<X> extends Object implements List<X>
There is no thread-safety guarantee.
Constructor and Description |
---|
Joined(Iterable<List<X>> src)
Ctor.
|
Joined(List<X>... src)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
X element) |
boolean |
add(X item) |
boolean |
addAll(Collection<? extends X> items) |
boolean |
addAll(int index,
Collection<? extends X> items) |
void |
clear() |
boolean |
contains(Object obj) |
boolean |
containsAll(Collection<?> collection) |
X |
get(int index) |
int |
indexOf(Object item) |
boolean |
isEmpty() |
Iterator<X> |
iterator() |
int |
lastIndexOf(Object item) |
ListIterator<X> |
listIterator() |
ListIterator<X> |
listIterator(int index) |
X |
remove(int index) |
boolean |
remove(Object item) |
boolean |
removeAll(Collection<?> items) |
boolean |
retainAll(Collection<?> items) |
X |
set(int index,
X element) |
int |
size() |
List<X> |
subList(int start,
int end) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
@SafeVarargs public Joined(List<X>... src)
src
- Source listspublic int size()
public boolean isEmpty()
public boolean contains(Object obj)
public Object[] toArray()
public <T> T[] toArray(T[] array)
public boolean add(X item)
public boolean remove(Object item)
public boolean containsAll(Collection<?> collection)
containsAll
in interface Collection<X>
containsAll
in interface List<X>
public boolean addAll(Collection<? extends X> items)
public boolean addAll(int index, Collection<? extends X> items)
public boolean removeAll(Collection<?> items)
public boolean retainAll(Collection<?> items)
public void clear()
public int lastIndexOf(Object item)
lastIndexOf
in interface List<X>
public ListIterator<X> listIterator()
listIterator
in interface List<X>
public ListIterator<X> listIterator(int index)
listIterator
in interface List<X>
Copyright © 2017 Cactoos. All rights reserved.