public class CountedList<A>
extends java.util.ArrayList<A>
Constructor and Description |
---|
CountedList() |
CountedList(int size) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(A val) |
void |
add(int idx,
A val) |
boolean |
addAll(java.util.Collection<? extends A> vals) |
boolean |
addAll(int idx,
java.util.Collection<? extends A> vals) |
int |
getCount(java.lang.Object obj) |
A |
remove(int idx) |
boolean |
remove(java.lang.Object b) |
boolean |
removeAll(java.util.Collection<?> objs) |
boolean |
retainAll(java.util.Collection<?> objs) |
public boolean add(A val)
public void add(int idx, A val)
public boolean addAll(java.util.Collection<? extends A> vals)
public boolean addAll(int idx, java.util.Collection<? extends A> vals)
public A remove(int idx)
public boolean remove(java.lang.Object b)
public boolean removeAll(java.util.Collection<?> objs)
public boolean retainAll(java.util.Collection<?> objs)
public int getCount(java.lang.Object obj)