|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectunbbayes.util.NodeList
@Deprecated public final class NodeList
Field Summary | |
---|---|
static int |
DEFAULT_SIZE
Deprecated. |
Constructor Summary | |
---|---|
NodeList(String test1,
String test2)
Deprecated. |
Method Summary | |
---|---|
void |
add(int index,
Node element)
Deprecated. Inserts the specified element at the specified position in this list. |
boolean |
add(Node newElement)
Deprecated. Appends the specified element to the end of this list. |
boolean |
addAll(NodeList c)
Deprecated. Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator. |
void |
clear()
Deprecated. Removes all of the elements from this list. |
boolean |
contains(Node elem)
Deprecated. Returns true if this list contains the specified element. |
static boolean |
containsAll(ArrayList<Node> originalList,
ArrayList<Node> testNodeList)
Deprecated. |
boolean |
containsAll(NodeList c)
Deprecated. |
void |
ensureCapacity(int minCapacity)
Deprecated. Increases the capacity of this NodeList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument. |
Node |
get(int index)
Deprecated. Returns the element at the specified position in this list. |
Node[] |
getData()
Deprecated. |
static Node[] |
getData(ArrayList<Node> array)
Deprecated. |
int |
indexOf(Node elem)
Deprecated. Searches for the first occurence of the given argument, testing for equality using the equals method. |
Node |
remove(int index)
Deprecated. Removes the element at the specified position in this list. |
boolean |
remove(Object o)
Deprecated. Removes a single instance of the specified element from this collection, if it is presen. |
static boolean |
removeAll(ArrayList<Node> originalList,
ArrayList<Node> removeNodesList)
Deprecated. Remove from originalList all nodes that are present in removeNodesList |
boolean |
removeAll(NodeList c)
Deprecated. |
static boolean |
retainAll(ArrayList<Node> originalList,
ArrayList<Node> testNodeList)
Deprecated. Remove from the originalList all nodes that don't exists in testNodeList |
boolean |
retainAll(NodeList c)
Deprecated. |
Node |
set(int index,
Node element)
Deprecated. Replaces the element at the specified position in this list with the specified element. |
static void |
setData(ArrayList<Node> list,
Node[] data)
Deprecated. Sets the data of list with the elements of data. |
void |
setData(Node[] data)
Deprecated. |
void |
setSize(int size)
Deprecated. Sets the size. |
int |
size()
Deprecated. Returns the number of elements in this list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_SIZE
Constructor Detail |
---|
public NodeList(String test1, String test2)
Method Detail |
---|
public final void ensureCapacity(int minCapacity)
minCapacity
- the desired minimum capacity.public final int size()
public final Node get(int index)
index
- index of element to return.
public final Node set(int index, Node element)
index
- index of element to replace.element
- element to be stored at the specified position.
public final boolean add(Node newElement)
o
- element to be appended to this list.
public final void add(int index, Node element)
index
- index at which the specified element is to be inserted.element
- element to be inserted.
IndexOutOfBoundsException
- if index is out of range
(index < 0 || index > size()).public final boolean addAll(NodeList c)
c
- the elements to be inserted into this list.
IndexOutOfBoundsException
- if index out of range (index
< 0 || index > size()).public final void clear()
@Deprecated public final boolean removeAll(NodeList c)
public static final boolean removeAll(ArrayList<Node> originalList, ArrayList<Node> removeNodesList)
@Deprecated public final boolean containsAll(NodeList c)
public static final boolean containsAll(ArrayList<Node> originalList, ArrayList<Node> testNodeList)
public final Node remove(int index)
index
- the index of the element to removed.
public final boolean remove(Object o)
o
- element to be removed from this collection, if present.
@Deprecated public final boolean retainAll(NodeList c)
public static final boolean retainAll(ArrayList<Node> originalList, ArrayList<Node> testNodeList)
originalList
- testNodeList
-
public final int indexOf(Node elem)
elem
- an object.
Object.equals(Object)
public final boolean contains(Node elem)
elem
- element whose presence in this List is to be tested.@Deprecated public final void setData(Node[] data)
data
- The data to setpublic static final void setData(ArrayList<Node> list, Node[] data)
data
- The data to setpublic final void setSize(int size)
size
- The size to set@Deprecated public final Node[] getData()
public static final Node[] getData(ArrayList<Node> array)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |