protected static class AbstractLinkedList.LinkedSubList extends AbstractList
modCount
Modifier | Constructor and Description |
---|---|
protected |
AbstractLinkedList.LinkedSubList(AbstractLinkedList parent,
int fromIndex,
int toIndex) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Object obj) |
boolean |
addAll(Collection coll) |
boolean |
addAll(int index,
Collection coll) |
protected void |
checkModCount() |
void |
clear() |
Object |
get(int index) |
Iterator |
iterator() |
ListIterator |
listIterator(int index) |
protected void |
rangeCheck(int index,
int beyond) |
Object |
remove(int index) |
Object |
set(int index,
Object obj) |
int |
size() |
List |
subList(int fromIndexInclusive,
int toIndexExclusive) |
add, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
protected AbstractLinkedList.LinkedSubList(AbstractLinkedList parent, int fromIndex, int toIndex)
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public Object get(int index)
get
in interface List
get
in class AbstractList
public void add(int index, Object obj)
add
in interface List
add
in class AbstractList
public Object remove(int index)
remove
in interface List
remove
in class AbstractList
public boolean addAll(Collection coll)
addAll
in interface Collection
addAll
in interface List
addAll
in class AbstractCollection
public boolean addAll(int index, Collection coll)
addAll
in interface List
addAll
in class AbstractList
public Object set(int index, Object obj)
set
in interface List
set
in class AbstractList
public void clear()
clear
in interface Collection
clear
in interface List
clear
in class AbstractList
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface List
iterator
in class AbstractList
public ListIterator listIterator(int index)
listIterator
in interface List
listIterator
in class AbstractList
public List subList(int fromIndexInclusive, int toIndexExclusive)
subList
in interface List
subList
in class AbstractList
protected void rangeCheck(int index, int beyond)
protected void checkModCount()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.