AuD
Lecture 'Algorithmen und Datenstrukturen' (code examples)
aud.BinarySearchTree.Cursor Class Reference

Reference to a key-value pair in a BinarySearchTree. More...

+ Collaboration diagram for aud.BinarySearchTree.Cursor:

Public Member Functions

Key getKey ()
 
Value getValue ()
 
void setValue (Value value)
 set value More...
 

Detailed Description

Reference to a key-value pair in a BinarySearchTree.

See also
BinarySearchTree

Definition at line 333 of file BinarySearchTree.java.

Member Function Documentation

◆ getKey()

Key aud.BinarySearchTree.Cursor.getKey ( )
Returns
key

Definition at line 339 of file BinarySearchTree.java.

339{ return node_.getKey(); }
Key getKey()
get key (short for getData().getKey())

◆ getValue()

Value aud.BinarySearchTree.Cursor.getValue ( )
Returns
value

Definition at line 341 of file BinarySearchTree.java.

341{ return node_.getValue(); }
Value getValue()
get value (short for getData().getValue())

◆ setValue()

void aud.BinarySearchTree.Cursor.setValue ( Value  value)

set value

Definition at line 343 of file BinarySearchTree.java.

343{ node_.setValue(value); }
void setValue(Value value)
set value (short for getData().setValue(value))

The documentation for this class was generated from the following file: