openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A > Class Reference
List of all members.
Detailed Description
Class to handle LinkedList with long capacity and not int capacity. Only minimal functions are done.
- Parameters:
-
| <A> | Class of object in LinkedList |
- Author:
- Frederic Bregier LGPL
Member Function Documentation
openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.LSDLinkedLongList |
( |
|
) |
|
Create an empty LinkedLongList
synchronized long openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.size |
( |
|
) |
|
return the size of the list
- Returns:
- the size of the list
synchronized boolean openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.addLast |
( |
A |
elt |
) |
|
Add the object in the end of the list
- Parameters:
-
- Returns:
- True if OK, else False
boolean openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.add |
( |
A |
elt |
) |
|
Add the object in the end of the list
- Parameters:
-
- Returns:
- True if OK, else False
synchronized boolean openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.addFirst |
( |
A |
elt |
) |
|
Add the object in the beginning of the list
- Parameters:
-
- Returns:
- True if OK, else False
synchronized A openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.getFirst |
( |
|
) |
|
Get the first element
- Returns:
- the first element
A openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.peek |
( |
|
) |
|
Get the first element
- Returns:
- the first element
synchronized A openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.getLast |
( |
|
) |
|
Get the last element
- Returns:
- the last element
A openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.poll |
( |
|
) |
|
Remove the first element
- Returns:
- the first element
synchronized A openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.removeFirst |
( |
|
) |
|
Remove and return the first element
- Returns:
- the first element
A openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.remove |
( |
|
) |
|
Remove and return the first element
- Returns:
- the first element
synchronized A openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.removeLast |
( |
|
) |
|
Remove and return the last element
- Returns:
- the last element
synchronized void openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.clear |
( |
|
) |
|
Remove all element from the list
void openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.destroy |
( |
|
) |
|
synchronized boolean openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.isEmpty |
( |
|
) |
|
Tell if the list is empty
- Returns:
- True if empty, else False
Iterator<A> openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.iterator |
( |
|
) |
|
Return the iterator for this list
- Returns:
- the iterator for this list
Member Data Documentation
long openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.size = 0 [private] |
Number of elements in the list
LSDLinkedObject openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.first = null [private] |
LSDLinkedObject openlsd.common.datatype.openlsd.common.datatype.LSDLinkedLongList< A >.last = null [private] |
The documentation for this class was generated from the following file:
- OpenLSD/Common/openlsd/common/datatype/LSDLinkedLongList.java