Uses of Class
org.codehaus.jparsec.functors.Pair

Packages that use Pair
org.codehaus.jparsec Provides core Parser implementations for parser combinator logic. 
org.codehaus.jparsec.functors Provides common functor interfaces, such as Map for mapping parser results as well as some common implementations. 
 

Uses of Pair in org.codehaus.jparsec
 

Methods in org.codehaus.jparsec that return types with arguments of type Pair
static
<A,B> Parser<Pair<A,B>>
Parsers.pair(Parser<? extends A> p1, Parser<? extends B> p2)
          A Parser that sequentially runs p1 and p2 and collects the results in a Pair object.
static
<A,B> Parser<Pair<A,B>>
Parsers.tuple(Parser<? extends A> p1, Parser<? extends B> p2)
          A Parser that sequentially runs p1 and p2 and collects the results in a Pair object.
 

Uses of Pair in org.codehaus.jparsec.functors
 

Subclasses of Pair in org.codehaus.jparsec.functors
 class Tuple3<A,B,C>
          Immutable data holder for 3 values.
 class Tuple4<A,B,C,D>
          Immutable data holder for 4 values.
 class Tuple5<A,B,C,D,E>
          Immutable data holder for 5 values.
 

Methods in org.codehaus.jparsec.functors that return Pair
static
<A,B> Pair<A,B>
Tuples.pair(A a, B b)
          Returns a Pair of 2 objects.
static
<A,B> Pair<A,B>
Tuples.tuple(A a, B b)
          Returns a Pair of 2 objects.
 

Methods in org.codehaus.jparsec.functors that return types with arguments of type Pair
static
<A,B> Map2<A,B,Pair<A,B>>
Maps.toPair()
          A Map2 object that maps 2 values into a Pair object.
 



Copyright © 2014. All rights reserved.