The ToolList class represents a list of Tool objects. More...
Inherits Interface, and Iterable< Tool >.
Public Member Functions | |
ToolList | append (ToolList other) |
Appends the members of the specified ToolList to this ToolList. More... | |
int | count () |
Returns the number of tools in this list. More... | |
Tool | frontmost () |
The member of the list that is farthest to the front within the standard Leap Motion frame of reference (i.e has the smallest Z coordinate). More... | |
Tool | get (int index) |
Access a list member by its position in the list. More... | |
boolean | isEmpty () |
Reports whether the list is empty. More... | |
Tool | leftmost () |
The member of the list that is farthest to the left within the standard Leap Motion frame of reference (i.e has the smallest X coordinate). More... | |
Tool | rightmost () |
The member of the list that is farthest to the right within the standard Leap Motion frame of reference (i.e has the largest X coordinate). More... | |
ToolList () | |
Constructs an empty list of tools. More... | |
The ToolList class represents a list of Tool objects.
ToolList | ( | ) |
Constructs an empty list of tools.
int count | ( | ) |
Returns the number of tools in this list.
Tool frontmost | ( | ) |
The member of the list that is farthest to the front within the standard Leap Motion frame of reference (i.e has the smallest Z coordinate).
Tool get | ( | int | index | ) |
Access a list member by its position in the list.
index | The zero-based list position index. |
boolean isEmpty | ( | ) |
Reports whether the list is empty.
Tool leftmost | ( | ) |
The member of the list that is farthest to the left within the standard Leap Motion frame of reference (i.e has the smallest X coordinate).
Tool rightmost | ( | ) |
The member of the list that is farthest to the right within the standard Leap Motion frame of reference (i.e has the largest X coordinate).