|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ConsVisitor | |
|---|---|
| edu.rice.cs.plt.collect | Contains general-purpose extensions to and variations on the java.util collections
framework. |
| Uses of ConsVisitor in edu.rice.cs.plt.collect |
|---|
| Methods in edu.rice.cs.plt.collect that return ConsVisitor | ||
|---|---|---|
static
|
ConsVisitor.append(ConsList<? extends T> rest)
Appends the given list to the end of another list |
|
static
|
ConsVisitor.filter(Predicate<? super T> pred)
Filters a list to contain only those elements accepted by the given predicate |
|
static
|
ConsVisitor.first()
Attempt to access the first of the given list (throws an exception in the empty case). |
|
static
|
ConsVisitor.map(Lambda<? super S,? extends T> lambda)
Produces a new list by applying the given lambda to each of a list's elements |
|
static
|
ConsVisitor.rest()
Attempt to access the rest of the given list (throws an exception in the empty case). |
|
static
|
ConsVisitor.reverse()
Reverses the order of the elements in a list |
|
| Methods in edu.rice.cs.plt.collect with parameters of type ConsVisitor | ||
|---|---|---|
abstract
|
ConsList.apply(ConsVisitor<? super T,? extends Ret> visitor)
|
|
|
ConsList.Empty.apply(ConsVisitor<? super T,? extends Ret> visitor)
Invoke the forEmpty case of a visitor |
|
|
ConsList.Nonempty.apply(ConsVisitor<? super T,? extends Ret> visitor)
Invoke the forNonempty case of a visitor |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||