ocean v6.1.0 (2021-04-20T01:38:04Z)
Home
Dub
Repo
LinkedList.take
ocean
util
container
LinkedList
LinkedList
Takes the first value on the list
Time complexity: O(1)
class
LinkedList
(V, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
bool
take
(
ref
V
v
)
Meta
Source
See Implementation
ocean
util
container
LinkedList
LinkedList
constructors
this
destructors
~this
functions
add
addAt
append
cache
check
clear
contains
dup
first
get
head
isEmpty
iterator
last
opApply
prepend
remove
removeAt
removeHead
removeRange
removeTail
replace
replaceAt
reset
size
sort
subset
tail
take
toArray
Takes the first value on the list
Time complexity: O(1)