public class SingleLinkedList<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SingleLinkedList.Node<T>
The list is composed of nodes.
|
| Constructor and Description |
|---|
SingleLinkedList() |
public T takeFirst()
public void addLast(T payload)
payload - public void clear()
public int size()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.