ImplicitTreapOfDouble extension type

on
Implemented types

Properties

base ImplicitTreapBase<double, DoubleNode>
final
first double
Returns the first item in this treap.
no setterinherited
firstOrDefault double?
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 double
Returns the last item in this treap.
no setterinherited
lastOrDefault double?
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<double>
Iterate over the items in the treap.
no setterinherited

Methods

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

Operators

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