Top Fields Constructors Methods
org.reactfx.util

pack-priv Class ConcatView<E>

Located in compilation unit of org.reactfx.util.Lists.

extends AbstractList<E>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final List<? extends E>
private final List<? extends E>
Inherited from java.util.AbstractList:
modCount

Constructor Summary

AccessConstructor and Description
pack-priv
ConcatView(List<? extends E> first, List<? extends E> second)

Method Summary

Modifier and TypeMethod and Description
private static <E> List<E>
concatView(List<List<? extends E>> lists, boolean makeUnmodifiable)

pack-priv static <E> List<E>
create(List<List<? extends E>> lists)

public E
get(int index)

Implements abstract java.util.AbstractList.get.

Implements java.util.List.get.

Returns the element at the specified position in this list.

public int
size()

Implements abstract java.util.AbstractCollection.size.

Implements java.util.List.size, java.util.Collection.size.

Returns the number of elements in this list.

Inherited from java.util.AbstractList:
addaddaddAllclearequalshashCodeindexOfiteratorlastIndexOflistIteratorlistIteratorremoveremoveRangesetsubList

Field Detail

firstback to summary
private final List<? extends E> first
secondback to summary
private final List<? extends E> second

Constructor Detail

ConcatViewback to summary
pack-priv ConcatView(List<? extends E> first, List<? extends E> second)

Method Detail

concatViewback to summary
private static <E> List<E> concatView(List<List<? extends E>> lists, boolean makeUnmodifiable)
createback to summary
pack-priv static <E> List<E> create(List<List<? extends E>> lists)
getback to summary
public E get(int index)

Implements abstract java.util.AbstractList.get.

Implements java.util.List.get.

Doc from java.util.AbstractList.get.

Returns the element at the specified position in this list.

Annotations
@Override
sizeback to summary
public int size()

Implements abstract java.util.AbstractCollection.size.

Implements java.util.List.size, java.util.Collection.size.

Doc from java.util.List.size.

Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.

Annotations
@Override