Uses of Class
org.jparsec.functors.Pair
-
Packages that use Pair Package Description org.jparsec Provides core Parser implementations for parser combinator logic.org.jparsec.examples.java.ast.statement org.jparsec.examples.sql.ast org.jparsec.examples.sql.parser org.jparsec.functors Provides common functor interfaces, such as Map for mapping parser results as well as some common implementations. -
-
Uses of Pair in org.jparsec
Methods in org.jparsec that return types with arguments of type Pair Modifier and Type Method Description static <A,B>
Parser<Pair<A,B>>Parsers. pair(Parser<? extends A> p1, Parser<? extends B> p2)Deprecated.Prefer to converting to your own object with a lambda.static <A,B>
Parser<Pair<A,B>>Parsers. tuple(Parser<? extends A> p1, Parser<? extends B> p2)Deprecated.Prefer to converting to your own object with a lambda. -
Uses of Pair in org.jparsec.examples.java.ast.statement
Fields in org.jparsec.examples.java.ast.statement with type parameters of type Pair Modifier and Type Field Description java.util.List<Pair<Expression,Statement>>SwitchStatement. casesjava.util.List<Pair<Expression,Statement>>IfStatement. elseifsConstructor parameters in org.jparsec.examples.java.ast.statement with type arguments of type Pair Constructor Description IfStatement(Expression condition, Statement then, java.util.List<Pair<Expression,Statement>> elseifs, Statement otherwise)SwitchStatement(Expression condition, java.util.List<Pair<Expression,Statement>> cases, Statement defaultCase) -
Uses of Pair in org.jparsec.examples.sql.ast
Fields in org.jparsec.examples.sql.ast with type parameters of type Pair Modifier and Type Field Description java.util.List<Pair<Expression,Expression>>FullCaseExpression. casesjava.util.List<Pair<Expression,Expression>>SimpleCaseExpression. casesConstructor parameters in org.jparsec.examples.sql.ast with type arguments of type Pair Constructor Description FullCaseExpression(java.util.List<Pair<Expression,Expression>> cases, Expression defaultValue)SimpleCaseExpression(Expression condition, java.util.List<Pair<Expression,Expression>> cases, Expression defaultValue) -
Uses of Pair in org.jparsec.examples.sql.parser
Methods in org.jparsec.examples.sql.parser that return types with arguments of type Pair Modifier and Type Method Description private static Parser<java.util.List<Pair<Expression,Expression>>>ExpressionParser. whenThens(Parser<Expression> cond, Parser<Expression> expr) -
Uses of Pair in org.jparsec.functors
Subclasses of Pair in org.jparsec.functors Modifier and Type Class Description classTuple3<A,B,C>Deprecated.Prefer to using a lambda expression to convert to your own type.classTuple4<A,B,C,D>Deprecated.Prefer to using a lambda expression to convert to your own type.classTuple5<A,B,C,D,E>Deprecated.Prefer to using a lambda expression to convert to your own type.Methods in org.jparsec.functors that return Pair Modifier and Type Method Description static <A,B>
Pair<A,B>Tuples. pair(A a, B b)Deprecated.Returns aPairof 2 objects.static <A,B>
Pair<A,B>Tuples. tuple(A a, B b)Deprecated.Returns aPairof 2 objects.Methods in org.jparsec.functors that return types with arguments of type Pair Modifier and Type Method Description static <A,B>
Map2<A,B,Pair<A,B>>Maps. toPair()Methods in org.jparsec.functors with parameters of type Pair Modifier and Type Method Description (package private) booleanPair. equals(Pair<?,?> other)Deprecated.
-