Uses of Class
xtc.util.Pair

Packages that use Pair
xtc.parser   
xtc.tree   
xtc.util   
 

Uses of Pair in xtc.parser
 

Methods in xtc.parser that return Pair
protected static
<T> Pair<T>
ParserBase.cast(Pair<?> p)
          Cast the list starting at the specified pair.
 

Methods in xtc.parser with parameters of type Pair
protected
<T> T
ParserBase.apply(Pair<Action<T>> actions, T seed)
          Apply the specified actions on the specified seed.
protected
<T extends Locatable>
T
ParserBase.apply(Pair<Action<T>> actions, T seed, int index)
          Apply the specified actions on the specified seed while also setting the results' locations.
protected static
<T> Pair<T>
ParserBase.cast(Pair<?> p)
          Cast the list starting at the specified pair.
 

Uses of Pair in xtc.tree
 

Methods in xtc.tree that return Pair
<T> Pair<T>
Node.getList(int index)
          Get the list child at the specified index.
static Pair<Node> Node.toList(java.lang.Object o)
          Convert the specified object to a list of nodes.
 

Methods in xtc.tree with parameters of type Pair
 Node Node.addAll(int index, Pair<?> p)
          Add all values in the list starting with the specified pair as children at the specified index.
 Node Node.addAll(Pair<?> p)
          Add all values in the list starting with the specified pair as children.
static GNode GNode.createFromPair(java.lang.String name, java.lang.Object base, Pair rest)
          Create a new generic node with the specified children.
static GNode GNode.createFromPair(java.lang.String name, Pair p)
          Create a new generic node with the list's nodes as its children.
 

Uses of Pair in xtc.util
 

Fields in xtc.util declared as Pair
static Pair Pair.EMPTY
          The pair representing the empty list.
 

Methods in xtc.util that return Pair
 Pair<T> Pair.add(T element)
          Add the specified element to the list starting at this pair.
 Pair<T> Pair.append(Pair<T> tail)
          Set the tail of a copy of this list's last pair to the specified value.
 Pair<T> Pair.combine(Pair<T> list)
          Combine the elements on the list starting at this pair with the elements on the list starting at the specified pair.
static
<T> Pair<T>
Pair.empty()
          Get the canoncial empty pair.
 Pair<T> Pair.intersect(Pair<T> list)
          Intersect the elements on the list starting at this pair with the elements on the list starting at the specified pair.
 Pair<T> Pair.reverse()
          Reverse the list starting at this pair in place.
 Pair<T> Pair.setTail(Pair<T> tail)
          Set the tail.
 Pair<T> Pair.subtract(Pair<T> list)
          Subtract the elements on the list starting at the specified list from the elements on the list starting at this pair.
 Pair<T> Pair.tail()
          Get the tail.
 

Methods in xtc.util with parameters of type Pair
 Pair<T> Pair.append(Pair<T> tail)
          Set the tail of a copy of this list's last pair to the specified value.
 Pair<T> Pair.combine(Pair<T> list)
          Combine the elements on the list starting at this pair with the elements on the list starting at the specified pair.
 Pair<T> Pair.intersect(Pair<T> list)
          Intersect the elements on the list starting at this pair with the elements on the list starting at the specified pair.
 void Pair.setLastTail(Pair<T> tail)
          Set the tail of this list's last pair to the specified value.
 Pair<T> Pair.setTail(Pair<T> tail)
          Set the tail.
 Pair<T> Pair.subtract(Pair<T> list)
          Subtract the elements on the list starting at the specified list from the elements on the list starting at this pair.
 

Constructors in xtc.util with parameters of type Pair
Pair(T head, Pair<T> tail)
          Create a new pair.
 



Copyright © 2012. All Rights Reserved.