|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenlist.OpenListBuffer<Type>
public class OpenListBuffer<Type>
An OpenListBuffer is analogous to a StringBuffer. Similar to a String, an OpenList is ideally regarded as immutable. An OpenListBuffer creates an OpenList after a series of append calls.
| Field Summary | |
|---|---|
private OpenList<Type> |
buffer
|
| Constructor Summary | |
|---|---|
OpenListBuffer()
Create an empty OpenListBuffer. |
|
| Method Summary | |
|---|---|
void |
append(Type item)
Append one item to an OpenListBuffer. |
OpenList<Type> |
toOpenList()
Return the OpenList constructed thus far. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private OpenList<Type> buffer
| Constructor Detail |
|---|
public OpenListBuffer()
| Method Detail |
|---|
public void append(Type item)
item - the item to be appendedpublic OpenList<Type> toOpenList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||