public final class Circulist<T> extends Object
Constructor and Description |
---|
Circulist(Class<?> clss) |
Circulist(Class<?> clss,
int initcap,
int incr) |
Modifier and Type | Method and Description |
---|---|
void |
append(T obj) |
int |
capacity() |
void |
clear() |
T |
get(int pos) |
int |
indexOf(int start,
T obj) |
int |
indexOf(T obj) |
void |
insert(int pos,
T obj) |
void |
prepend(T obj) |
T |
remove() |
T |
remove(int pos) |
boolean |
remove(T obj) |
void |
removeRange(int pos_from,
int pos_to) |
T |
set(int pos,
T newval) |
int |
size() |
T[] |
toArray() |
T[] |
toArray(T[] arrcopy) |
String |
toString() |
public Circulist(Class<?> clss)
public Circulist(Class<?> clss, int initcap, int incr)
public int size()
public int capacity()
public void clear()
public T get(int pos)
public void append(T obj)
public void prepend(T obj)
public void insert(int pos, T obj)
public T remove(int pos)
public void removeRange(int pos_from, int pos_to)
public boolean remove(T obj)
public T remove()
public int indexOf(int start, T obj)
public int indexOf(T obj)
public T[] toArray()
Copyright 2010-2018 Grey Software (Yusef Badri). All Rights Reserved.