Skip to content

Instantly share code, notes, and snippets.

@fikovnik
Created October 16, 2012 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fikovnik/3902390 to your computer and use it in GitHub Desktop.
Save fikovnik/3902390 to your computer and use it in GitHub Desktop.
ClassAnalyzer output (without generics)
package java.util;
public class ArrayList extends java.util.AbstractList implements List, RandomAccess, Cloneable, Serializable {
// Fields
private static final long serialVersionUID;
private transient Object[] elementData;
private int size;
private static final int MAX_ARRAY_SIZE;
// Constructors
public java.util.ArrayList;
public java.util.ArrayList(Collection);
public java.util.ArrayList(int);
// Methods
public Object set(int, Object);
private void grow(int);
Object elementData(int);
private static int hugeCapacity(int);
public boolean removeAll(Collection);
public boolean retainAll(Collection);
protected void removeRange(int, int);
public ListIterator listIterator(int);
public ListIterator listIterator;
private String outOfBoundsMsg(int);
private void rangeCheckForAdd(int);
private void fastRemove(int);
private void rangeCheck(int);
private boolean batchRemove(Collection, boolean);
static void subListRangeCheck(int, int, int);
public void add(int, Object);
public boolean add(Object);
public Object remove(int);
public boolean remove(Object);
public Object get(int);
public Object clone;
public int indexOf(Object);
public void clear;
public boolean isEmpty;
public int lastIndexOf(Object);
public boolean contains(Object);
public int size;
public List subList(int, int);
public Object[] toArray(Object[]);
public Object[] toArray;
public boolean addAll(int, Collection);
public boolean addAll(Collection);
static int access$100(ArrayList);
public Iterator iterator;
static Object[] access$200(ArrayList);
private void readObject(ObjectInputStream) throws IOException, ClassNotFoundException;
private void writeObject(ObjectOutputStream) throws IOException;
public void ensureCapacity(int);
public void trimToSize;
private void ensureCapacityInternal(int);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment