tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
CircularList.take
tango
util
container
CircularList
CircularList
Time complexity: O(n)
Takes the last element on the list
class
CircularList
(V, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
bool
take
(
ref
V
v
)
Meta
Source
See Implementation
tango
util
container
CircularList
CircularList
aliases
Type
constructors
this
destructors
~this
functions
add
addAt
append
cache
check
clear
contains
first
get
head
isEmpty
last
opApply
prepend
remove
removeAt
removeHead
removeRange
removeTail
replace
replaceAt
reset
subset
tail
take
toArray
properties
dup
iterator
size
Time complexity: O(n)
Takes the last element on the list