ImplicitTreapOfString extension type

on
Implemented types

Properties

base → ImplicitTreapBase<String, StringNode>
final
first → String
Returns the first item in this treap.
no setterinherited
firstOrDefault → String?
Returns the first item in this treap, or null if it is empty.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
last → String
Returns the last item in this treap.
no setterinherited
lastOrDefault → String?
Returns the last item in this treap, or null if it is empty.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
The number of items in the treap.
no setterinherited
values → Iterable<String>
Iterate over the items in the treap.
no setterinherited

Methods

add(String item) → ImplicitTreapOfString
Adds item to the end of the treap.
append(ImplicitTreapOfString other) → ImplicitTreapOfString
Appends other to the end of this treap.
copy() → ImplicitTreapOfString
Creates a copy of this treap.
insert(int index, String item) → ImplicitTreapOfString
Inserts item at index.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(int index) → ImplicitTreapOfString
Removes the item at index.
skip(int count) → ImplicitTreapOfString
Skips the first count items and returns a new treap with the remaining items.
take(int count) → ImplicitTreapOfString
Returns a new treap with the first count items.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](int index) → String
Returns the item at index.
inherited