Package | Description |
---|---|
org.jivesoftware.util |
Utility classes.
|
Modifier and Type | Field and Description |
---|---|
LinkedListNode<E> |
LinkedListNode.next |
LinkedListNode<E> |
LinkedListNode.previous |
Modifier and Type | Method and Description |
---|---|
LinkedListNode<E> |
LinkedList.addFirst(E object)
Adds an object to the beginning of the list by automatically creating a
a new node and adding it to the beginning of the list.
|
LinkedListNode<E> |
LinkedList.addFirst(LinkedListNode<E> node)
Adds a node to the beginning of the list.
|
LinkedListNode<E> |
LinkedList.addLast(E object)
Adds an object to the end of the list by automatically creating a
a new node and adding it to the end of the list.
|
LinkedListNode<E> |
LinkedList.addLast(LinkedListNode<E> node)
Adds a node to the end of the list.
|
LinkedListNode<E> |
LinkedList.getFirst()
Returns the first linked list node in the list.
|
LinkedListNode<E> |
LinkedList.getLast()
Returns the last linked list node in the list.
|
LinkedListNode<E> |
LinkedListNode.insert(LinkedListNode<E> next,
LinkedListNode<E> previous)
Inserts this node into the linked list that it will be a part of.
|
LinkedListNode<E> |
LinkedListNode.remove()
Removes this node from the linked list that it was a part of.
|
Modifier and Type | Method and Description |
---|---|
LinkedListNode<E> |
LinkedList.addFirst(LinkedListNode<E> node)
Adds a node to the beginning of the list.
|
LinkedListNode<E> |
LinkedList.addLast(LinkedListNode<E> node)
Adds a node to the end of the list.
|
LinkedListNode<E> |
LinkedListNode.insert(LinkedListNode<E> next,
LinkedListNode<E> previous)
Inserts this node into the linked list that it will be a part of.
|
LinkedListNode<E> |
LinkedListNode.insert(LinkedListNode<E> next,
LinkedListNode<E> previous)
Inserts this node into the linked list that it will be a part of.
|
Constructor and Description |
---|
LinkedListNode(E object,
LinkedListNode<E> next,
LinkedListNode<E> previous)
Constructs a new linked list node.
|
LinkedListNode(E object,
LinkedListNode<E> next,
LinkedListNode<E> previous)
Constructs a new linked list node.
|
Copyright © 2003–2020 Ignite Realtime. All rights reserved.