Navigation
index
modules
|
ooc v0.3.0 documentation
»
structs/LinkedList
¶
getchar
(
)
¶
class
LinkedList<T>
¶
extends:
List<T>
static method
new
→
LinkedList<T>
¶
method
init
¶
method
add
(
data: T
)
¶
method
add~withIndex
(
index:
Int
,
data: T
)
¶
method
clear
¶
method
get
(
index:
Int
)
→ T
¶
method
getNode
(
index:
Int
)
→
Node<T>
¶
method
indexOf
(
data: T
)
→
Int
¶
method
lastIndexOf
(
data: T
)
→
Int
¶
method
removeAt
(
index:
Int
)
→ T
¶
method
remove
(
data: T
)
→
Bool
¶
method
removeNode
(
toRemove:
Node<T>
)
→
Bool
¶
method
set
(
index:
Int
,
data: T
)
→ T
¶
method
size
→
Int
¶
method
iterator
→
LinkedListIterator<T>
¶
method
clone
→
LinkedList<T>
¶
method
print
¶
size
→
Int
first
→
Node<T>
¶
last
→
Node<T>
¶
class
Node<T>
¶
extends:
Object
static method
new
→
Node<T>
¶
method
init
¶
static method
new~withParams
(
prev
,
next:
Node<T>
,
data: T
)
→
Node<T>
¶
method
init~withParams
(
prev
,
next:
Node<T>
,
data: T
)
¶
T
→
Class
¶
prev
→
Node<T>
¶
next
→
Node<T>
¶
data
→ T
¶
class
LinkedListIterator<T>
¶
extends:
Iterator<T>
static method
new
(
list:
LinkedList<T>
)
→
LinkedListIterator<T>
¶
method
init
(
list:
LinkedList<T>
)
¶
method
hasNext
→
Bool
¶
method
next
→ T
¶
method
hasPrev
→
Bool
¶
method
prev
→ T
¶
method
remove
→
Bool
¶
current
→
Node<T>
¶
list
→
LinkedList<T>
¶
This Page
Show Source
Quick search
Enter search terms or a module, class or function name.
Navigation
index
modules
|
ooc v0.3.0 documentation
»