public class BestFirst.LinkedList2 extends java.util.ArrayList<BestFirst.Link2>
| Constructor and Description |
|---|
BestFirst.LinkedList2(int sz) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToList(java.lang.Object[] data,
double mer)
adds an element (Link) to the list.
|
BestFirst.Link2 |
getLinkAt(int index)
returns the element (Link) at a specific index from the list.
|
java.lang.String |
getRevision()
Returns the revision string.
|
void |
removeLinkAt(int index)
removes an element (Link) at a specific index from the list.
|
public void removeLinkAt(int index)
throws java.lang.Exception
index - the index of the element to be removed.java.lang.Exceptionpublic BestFirst.Link2 getLinkAt(int index) throws java.lang.Exception
index - the index of the element to be returned.java.lang.Exceptionpublic void addToList(java.lang.Object[] data,
double mer)
throws java.lang.Exception
data - the attribute set specificationmer - the "merit" of this attribute setjava.lang.Exceptionpublic java.lang.String getRevision()