Uses of Class
edu.rice.cs.plt.collect.ConsVisitor

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
<T> ConsVisitor<T,ConsList<? extends T>>
ConsVisitor.append(ConsList<? extends T> rest)
          Appends the given list to the end of another list
static
<T> ConsVisitor<T,ConsList<T>>
ConsVisitor.filter(Predicate<? super T> pred)
          Filters a list to contain only those elements accepted by the given predicate
static
<T> ConsVisitor<T,T>
ConsVisitor.first()
          Attempt to access the first of the given list (throws an exception in the empty case).
static
<S,T> ConsVisitor<S,ConsList<T>>
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
<T> ConsVisitor<T,ConsList<? extends T>>
ConsVisitor.rest()
          Attempt to access the rest of the given list (throws an exception in the empty case).
static
<T> ConsVisitor<T,ConsList<? extends T>>
ConsVisitor.reverse()
          Reverses the order of the elements in a list
 

Methods in edu.rice.cs.plt.collect with parameters of type ConsVisitor
abstract
<Ret> Ret
ConsList.apply(ConsVisitor<? super T,? extends Ret> visitor)
           
<Ret> Ret
ConsList.Empty.apply(ConsVisitor<? super T,? extends Ret> visitor)
          Invoke the forEmpty case of a visitor
<Ret> Ret
ConsList.Nonempty.apply(ConsVisitor<? super T,? extends Ret> visitor)
          Invoke the forNonempty case of a visitor