Package org.gnome.glib
Class TreeNode
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.glib.TreeNode
- All Implemented Interfaces:
Proxy
An opaque type which identifies a specific node in a
GTree.- Since:
- 2.68
-
Constructor Summary
ConstructorsConstructorDescriptionTreeNode(MemorySegment address) Create a TreeNode proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescription@Nullable MemorySegmentkey()Gets the key stored at a particular tree node.@Nullable TreeNodenext()Returns the next in-order node of the tree, ornullif the passed node was already the last one.@Nullable TreeNodeprevious()Returns the previous in-order node of the tree, ornullif the passed node was already the first one.@Nullable MemorySegmentvalue()Gets the value stored at a particular tree node.Methods inherited from class org.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.
- Since:
- 2.68
-
next
Returns the next in-order node of the tree, ornullif the passed node was already the last one.- Returns:
- the next node in the tree
- Since:
- 2.68
-
previous
Returns the previous in-order node of the tree, ornullif the passed node was already the first one.- Returns:
- the previous node in the tree
- Since:
- 2.68
-
value
Gets the value stored at a particular tree node.- Returns:
- the value at the node.
- Since:
- 2.68
-