Package org.gnome.glib
Class TreeNode
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.glib.TreeNode
-
Constructor Summary
ConstructorDescriptionTreeNode
(MemorySegment address) Create a TreeNode proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionkey()
Gets the key stored at a particular tree node.next()
Returns the next in-order node of the tree, ornull
if the passed node was already the last one.previous()
Returns the previous in-order node of the tree, ornull
if the passed node was already the first one.value()
Gets the value stored at a particular tree node.Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
TreeNode
Create a TreeNode proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
-
Method Details
-
key
Gets the key stored at a particular tree node.- Returns:
- the key at the node.
-
next
Returns the next in-order node of the tree, ornull
if the passed node was already the last one.- Returns:
- the next node in the tree
-
previous
Returns the previous in-order node of the tree, ornull
if the passed node was already the first one.- Returns:
- the previous node in the tree
-
value
Gets the value stored at a particular tree node.- Returns:
- the value at the node.
-