|
Scala 2
|
||
class
GBTree
[ A , B ]
extends
java.lang.Object with
ScalaObjectConstructor Summary | |
def
this
( ) ( view$4 : Function1 )
|
Type Summary | |
type
aNode
|
|
type
anInsertTree
|
Def Summary | |
def
apply
( key : A )
: B
|
|
def
balance
( s : scala.Int )
: GBTree
|
|
def
count
: Tuple2
Calculates 2^h, and size, where h is the height of the tree and size is the number of nodes in the tree. |
|
def
delete
( key : A )
: GBTree
|
|
def
get
( key : A )
: Option
|
|
def
insert
( key : A , value : B , size : scala.Int )
: InsertTree
|
|
def
isDefinedAt
( Key : A )
: scala.Boolean
|
|
def
merge
( t : GBTree )
: GBTree
|
|
def
mk_iter
( iter_tail : List )
: List
|
|
def
takeSmallest
: Tuple3
|
|
def
toList
( acc : List )
: List
|
|
def
update
( key : A , value : B )
: GBTree
|
Constructor Detail |
def
this
( ) ( view$4 : Function1 )
Type Detail |
type
aNode
type
anInsertTree
Def Detail |
def
apply
( key : A ) : B
def
balance
( s : scala.Int ) : GBTree
def
count
: Tuple2
def
delete
( key : A ) : GBTree
def
get
( key : A ) : Option
def
insert
( key : A , value : B , size : scala.Int ) : InsertTree
def
isDefinedAt
( Key : A ) : scala.Boolean
def
merge
( t : GBTree ) : GBTree
def
mk_iter
( iter_tail : List ) : List
def
takeSmallest
: Tuple3
def
toList
( acc : List ) : List
def
update
( key : A , value : B ) : GBTree