public class LinkedArray<T> extends Object
构造器和说明 |
---|
LinkedArray() |
LinkedArray(Class<T> eleType,
int size) |
LinkedArray(int size) |
限定符和类型 | 方法和说明 |
---|---|
LinkedArray<T> |
clear() |
boolean |
contains(T obj) |
T |
first() |
T |
get(int index) |
int |
indexOf(T obj) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
T |
last() |
int |
lastIndexOf(T obj) |
String |
popAll() |
T |
popFirst() |
String |
popFirst(int num) |
T |
popLast() |
LinkedArray<T> |
popLast(int num) |
LinkedArray<T> |
push(T e) |
LinkedArray<T> |
pushAll(T... es) |
LinkedArray<T> |
set(int index,
T e) |
int |
size() |
T[] |
toArray() |
List<T> |
toList() |
String |
toString() |
public LinkedArray<T> push(T e)
public LinkedArray<T> pushAll(T... es)
public T popFirst()
public String popFirst(int num)
public T popLast()
public LinkedArray<T> popLast(int num)
public T first()
public T last()
public LinkedArray<T> set(int index, T e)
public LinkedArray<T> clear()
public T get(int index)
public boolean isEmpty()
public int size()
public T[] toArray()
public String popAll()
public boolean contains(T obj)
public int indexOf(T obj)
public int lastIndexOf(T obj)
Copyright © 2017. All rights reserved.