|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OpenList | |
|---|---|
| openlist | A package that provides Generic and Scheme-like lists, and more. |
| openlist.examples | Example program(s) using OpenList. |
| openlist.incremental | A sub-class of OpenList that allows dynamic growth on demand, e.g. |
| openlist.reader | S-expression reader for OpenLists. |
| Uses of OpenList in openlist |
|---|
| Fields in openlist declared as OpenList | |
|---|---|
private OpenList<Type> |
OpenListBuffer.buffer
|
private OpenList<Type> |
Queue.in
Two lists are used. |
static OpenList |
OpenList.NIL
the one and only empty OpenList. |
private OpenList<Type> |
Queue.out
|
private OpenList<Type> |
Stack.stack
|
protected OpenList<Type> |
OpenList.tail
the elements of an OpenList after the head. |
| Methods in openlist that return OpenList | ||
|---|---|---|
OpenList<Type> |
OpenList.append(OpenList<Type> M)
Append the argument to this list, creating a new list. |
|
static
|
OpenList.append(OpenList<Type> L,
OpenList<Type> M)
Append the second list to the head, by creating a new list with the elements of the head copied. |
|
static
|
OpenList.assoc(Object key,
OpenList<OpenList<Object>> alist)
Search the second argument for an element, which must be a list, the head element of which is equal to key. |
|
OpenList<Type> |
OpenList.assoc(Type key)
Assuming this OpenList is an association list (list of non-empty lists), where the head elements are "key" values, search to find the head list that equals a given key. |
|
OpenList<Type> |
OpenList.cons(Type head)
Create an OpenList beginning with a new head and followed by this list. |
|
static
|
OpenList.cons(Type head,
OpenList<Type> tail)
Create an OpenList from a head and a tail. |
|
OpenList<Type> |
OpenList.fromCollection(java.util.Collection<Type> collection)
Make an OpenList from the elements of a Collection. |
|
static
|
OpenList.list(Type... args)
Create an OpenList of an arbitrary number of elements. |
|
OpenList<java.lang.Object> |
OpenList.map(Function1arg<Type> f)
Map a 1-ary function over this list of elements. |
|
OpenList<Type> |
OpenList.member(Type sought)
Return the first prefix of this OpenList beginning with sought. |
|
OpenList<java.lang.Object> |
OpenList.neutralize()
Make a neutralized version of an OpenList, in which each element has type Object. |
|
static OpenList |
OpenList.OpenListFromArray(java.lang.Object[] array)
Create OpenList from array of things of a given Type |
|
static OpenList<java.lang.Integer> |
OpenList.range(int m,
int n)
Create a list of Integer from m through n. |
|
OpenList<Type> |
OpenList.rest()
Get the elements following the head this, an OpenList. |
|
static
|
OpenList.rest(OpenList<Type> L)
Get the elements following the head of a non-empty OpenList. |
|
OpenList<Type> |
OpenList.reverse()
Create the reverse of this OpenList. |
|
static
|
OpenList.reverse(OpenList<Type> L)
Create the reverse of the argument OpenList. |
|
OpenList<Type> |
OpenListBuffer.toOpenList()
Return the OpenList constructed thus far. |
|
| Methods in openlist with parameters of type OpenList | ||
|---|---|---|
OpenList<Type> |
OpenList.append(OpenList<Type> M)
Append the argument to this list, creating a new list. |
|
static
|
OpenList.append(OpenList<Type> L,
OpenList<Type> M)
Append the second list to the head, by creating a new list with the elements of the head copied. |
|
static
|
OpenList.append(OpenList<Type> L,
OpenList<Type> M)
Append the second list to the head, by creating a new list with the elements of the head copied. |
|
static
|
OpenList.assoc(Object key,
OpenList<OpenList<Object>> alist)
Search the second argument for an element, which must be a list, the head element of which is equal to key. |
|
static
|
OpenList.cons(Type head,
OpenList<Type> tail)
Create an OpenList from a head and a tail. |
|
static
|
OpenList.first(OpenList<Type> L)
Get the head element of a non-empty OpenList. |
|
static
|
OpenList.isEmpty(OpenList<Type> L)
Determine whether or not the argument is empty. |
|
static
|
OpenList.nonEmpty(OpenList<Type> L)
Determine whether or not the argument is non-empty. |
|
static
|
OpenList.rest(OpenList<Type> L)
Get the elements following the head of a non-empty OpenList. |
|
static
|
OpenList.reverse(OpenList<Type> L)
Create the reverse of the argument OpenList. |
|
| Method parameters in openlist with type arguments of type OpenList | ||
|---|---|---|
static
|
OpenList.assoc(Object key,
OpenList<OpenList<Object>> alist)
Search the second argument for an element, which must be a list, the head element of which is equal to key. |
|
| Constructors in openlist with parameters of type OpenList | |
|---|---|
OpenList(Type head,
OpenList<Type> tail)
the private constructor for an OpenList. |
|
| Uses of OpenList in openlist.examples |
|---|
| Fields in openlist.examples declared as OpenList | |
|---|---|
(package private) OpenList<java.lang.Object> |
WeightedDirectedGraph.Node.arcs
the list of out-going Arcs from this Node |
(package private) OpenList<java.lang.Object> |
WeightedDirectedGraph.Node.raw
the symbolic OpenList specification of the node. |
| Methods in openlist.examples that return OpenList | |
|---|---|
OpenList<java.lang.Object> |
WeightedDirectedGraph.analyze()
analyze conducts Dijkstra's algorithm |
| Uses of OpenList in openlist.incremental |
|---|
| Subclasses of OpenList in openlist.incremental | |
|---|---|
class |
IncrementalList<Type>
An IncrementalList is a special case of OpenList that can be expanded incrementally from the tail forward. |
| Fields in openlist.incremental declared as OpenList | |
|---|---|
(package private) OpenList<Object> |
Mapper.L
the OpenList over which mapping is being done |
| Methods in openlist.incremental that return OpenList | |
|---|---|
OpenList<java.lang.Object> |
IncrementalList.map(Function1arg<Type> f)
Map a 1-ary function over this list of elements. |
OpenList<Type> |
IncrementalList.rest()
|
| Constructors in openlist.incremental with parameters of type OpenList | |
|---|---|
Mapper(OpenList<Object> L,
Function1arg<Object> f,
Growable<Object> growable)
Create a Mapper, operating on an OpenList L, with a function f. |
|
| Uses of OpenList in openlist.reader |
|---|
| Methods in openlist.reader that return OpenList | |
|---|---|
(package private) OpenList<java.lang.Object> |
SExpressionReader.getRestSexp()
Get the rest of a started S expression from input stream. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||