| Package | Description |
|---|---|
| org.osgl | |
| org.osgl.util |
| Modifier and Type | Method and Description |
|---|---|
C.List.Cursor<T> |
Osgl.Var.locate(Osgl.Function<T,Boolean> predicate) |
C.List.Cursor<T> |
Osgl.Var.locateFirst(Osgl.Function<T,Boolean> predicate) |
C.List.Cursor<T> |
Osgl.Var.locateLast(Osgl.Function<T,Boolean> predicate) |
| Modifier and Type | Method and Description |
|---|---|
C.List.Cursor<T> |
C.List.Cursor.append(T t)
Add an element after the element this cursor points to.
|
C.List.Cursor<T> |
C.List.Cursor.backward()
Move the cursor backward to make it point to the previous element to
the current element
|
C.List.Cursor<T> |
C.List.Cursor.drop()
Remove the current element this cursor points to.
|
C.List.Cursor<T> |
C.List.Cursor.forward()
Move the cursor forward to make it point to the next element to
the current element
|
C.List.Cursor<T> |
C.List.locate(Osgl.Function<T,Boolean> predicate)
Locate any one element in the list that matches the predicate.
|
C.List.Cursor<T> |
ListBase.locate(Osgl.Function<T,Boolean> predicate) |
C.List.Cursor<T> |
C.List.locateFirst(Osgl.Function<T,Boolean> predicate)
Find the first element in this list that matches the predicate.
|
C.List.Cursor<T> |
ListBase.locateFirst(Osgl.Function<T,Boolean> predicate) |
C.List.Cursor<T> |
C.List.locateLast(Osgl.Function<T,Boolean> predicate)
Locate the first element in this list that matches the predicate.
|
C.List.Cursor<T> |
ListBase.locateLast(Osgl.Function<T,Boolean> predicate) |
C.List.Cursor<T> |
C.List.Cursor.parkLeft()
Park the cursor at the position before the first element.
|
C.List.Cursor<T> |
C.List.Cursor.parkRight()
Park the cursor at the position after the last element
|
C.List.Cursor<T> |
C.List.Cursor.prepend(T t)
Add an element in front of the element this cursor points to.
|
C.List.Cursor<T> |
C.List.Cursor.set(T t)
Replace the element this cursor points to with the new element specified.
|
Copyright © 2017. All Rights Reserved.