public class CircularArrayList extends AbstractList<Object> implements List<Object>
| Constructor and Description |
|---|
CircularArrayList() |
CircularArrayList(Collection<?> c) |
CircularArrayList(int size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object o) |
boolean |
addAll(Collection<?> c) |
void |
clear() |
boolean |
contains(Object elem) |
void |
ensureCapacity(int minCapacity) |
Object |
get(int index) |
int |
indexOf(Object elem) |
boolean |
isEmpty() |
int |
lastIndexOf(Object elem) |
Object |
remove(int index) |
Object |
set(int index,
Object element) |
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] a) |
add, addAll, equals, hashCode, iterator, listIterator, listIterator, subListcontainsAll, remove, removeAll, retainAll, toStringadd, addAll, containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, subListparallelStream, removeIf, streampublic CircularArrayList()
public CircularArrayList(int size)
public CircularArrayList(Collection<?> c)
public boolean isEmpty()
isEmpty in interface Collection<Object>isEmpty in interface List<Object>isEmpty in class AbstractCollection<Object>public void ensureCapacity(int minCapacity)
public int size()
size in interface Collection<Object>size in interface List<Object>size in class AbstractCollection<Object>public boolean contains(Object elem)
contains in interface Collection<Object>contains in interface List<Object>contains in class AbstractCollection<Object>public int indexOf(Object elem)
public int lastIndexOf(Object elem)
lastIndexOf in interface List<Object>lastIndexOf in class AbstractList<Object>public Object[] toArray()
toArray in interface Collection<Object>toArray in interface List<Object>toArray in class AbstractCollection<Object>public Object[] toArray(Object[] a)
toArray in interface Collection<Object>toArray in interface List<Object>toArray in class AbstractCollection<Object>public Object get(int index)
public boolean add(Object o)
add in interface Collection<Object>add in interface List<Object>add in class AbstractList<Object>public Object remove(int index)
public void clear()
clear in interface Collection<Object>clear in interface List<Object>clear in class AbstractList<Object>public boolean addAll(Collection<?> c)
addAll in interface Collection<Object>addAll in interface List<Object>addAll in class AbstractCollection<Object>Copyright 2004-2019 Solace Corporation. All rights reserved.