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

Packages that use ConsList
edu.rice.cs.plt.collect Contains general-purpose extensions to and variations on the java.util collections framework. 
 

Uses of ConsList in edu.rice.cs.plt.collect
 

Subclasses of ConsList in edu.rice.cs.plt.collect
static class ConsList.Empty<T>
          The empty variant of a ConsList.
static class ConsList.Nonempty<T>
          The nonempty variant of a ConsList.
 

Methods in edu.rice.cs.plt.collect that return ConsList
static
<T> ConsList<? extends T>
ConsList.append(ConsList<? extends T> l1, ConsList<? extends T> l2)
          Append l2 to the end of l1
static
<T> ConsList<? extends T>
ConsList.filter(ConsList<? extends T> list, Predicate<? super T> pred)
          Filter the given list according to a predicate
static
<T> ConsList<T>
CollectUtil.makeConsList(Iterable<? extends T> iter)
          Make a ConsList with the given elements.
static
<S,T> ConsList<? extends T>
ConsList.map(ConsList<? extends S> list, Lambda<? super S,? extends T> lambda)
          Map the given list according to a lambda
 ConsList<? extends T> ConsList.Nonempty.rest()
           
static
<T> ConsList<? extends T>
ConsList.rest(ConsList<? extends T> list)
          Attempt to access the rest of the given list (throws an exception in the empty case).
static
<T> ConsList<? extends T>
ConsList.reverse(ConsList<? extends T> list)
          Reverse the given list
 

Methods in edu.rice.cs.plt.collect that return types with arguments of type ConsList
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
<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 ConsList
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> ConsList<? extends T>
ConsList.append(ConsList<? extends T> l1, ConsList<? extends T> l2)
          Append l2 to the end of l1
static
<T> ConsList<? extends T>
ConsList.append(ConsList<? extends T> l1, ConsList<? extends T> l2)
          Append l2 to the end of l1
static
<T> ConsList.Nonempty<T>
ConsList.cons(T first, ConsList<? extends T> rest)
          Create a nonempty list (via ConsList())
static
<T> ConsList<? extends T>
ConsList.filter(ConsList<? extends T> list, Predicate<? super T> pred)
          Filter the given list according to a predicate
static
<T> T
ConsList.first(ConsList<? extends T> list)
          Attempt to access the first of the given list (throws an exception in the empty case).
abstract  Ret ConsVisitor.forNonempty(T first, ConsList<? extends T> rest)
          Handle a nonempty list
static
<S,T> ConsList<? extends T>
ConsList.map(ConsList<? extends S> list, Lambda<? super S,? extends T> lambda)
          Map the given list according to a lambda
static
<T> ConsList<? extends T>
ConsList.rest(ConsList<? extends T> list)
          Attempt to access the rest of the given list (throws an exception in the empty case).
static
<T> ConsList<? extends T>
ConsList.reverse(ConsList<? extends T> list)
          Reverse the given list
 Ret ConsVisitor.value(ConsList<? extends T> list)
          Invoke list.apply(this)
 

Constructors in edu.rice.cs.plt.collect with parameters of type ConsList
ConsList.Nonempty(T first, ConsList<? extends T> rest)