Uses of Class
net.hydromatic.morel.util.Pair
-
Packages that use Pair Package Description net.hydromatic.morel.ast Abstract syntax tree.net.hydromatic.morel.eval Evaluates expressions.net.hydromatic.morel.type Type system.net.hydromatic.morel.util Utilities. -
-
Uses of Pair in net.hydromatic.morel.ast
Fields in net.hydromatic.morel.ast with type parameters of type Pair Modifier and Type Field Description com.google.common.collect.ImmutableList<Pair<Ast.Exp,Ast.Id>>Ast.From. groupExpsMethod parameters in net.hydromatic.morel.ast with type arguments of type Pair Modifier and Type Method Description Ast.FromAst.From. copy(java.util.Map<Ast.Id,Ast.Exp> sources, Ast.Exp filterExp, Ast.Exp yieldExp, java.util.List<Pair<Ast.Exp,Ast.Id>> groupExps, java.util.List<Ast.Aggregate> aggregates)Creates a copy of thisFromwith given contents, or this if the contents are the same.Ast.FromAstBuilder. from(Pos pos, java.util.Map<Ast.Id,Ast.Exp> sources, Ast.Exp filterExp, Ast.Exp yieldExp, java.util.List<Pair<Ast.Exp,Ast.Id>> groupExps, java.util.List<Ast.Aggregate> aggregates)Constructor parameters in net.hydromatic.morel.ast with type arguments of type Pair Constructor Description From(Pos pos, com.google.common.collect.ImmutableMap<Ast.Id,Ast.Exp> sources, Ast.Exp filterExp, Ast.Exp yieldExp, com.google.common.collect.ImmutableList<Pair<Ast.Exp,Ast.Id>> groupExps, com.google.common.collect.ImmutableList<Ast.Aggregate> aggregates) -
Uses of Pair in net.hydromatic.morel.eval
Fields in net.hydromatic.morel.eval with type parameters of type Pair Modifier and Type Field Description private com.google.common.collect.ImmutableList<Pair<Ast.Pat,Code>>Closure. patCodesA list of (pattern, code) pairs.Constructor parameters in net.hydromatic.morel.eval with type arguments of type Pair Constructor Description Closure(EvalEnv evalEnv, com.google.common.collect.ImmutableList<Pair<Ast.Pat,Code>> patCodes)Not a public API. -
Uses of Pair in net.hydromatic.morel.type
Fields in net.hydromatic.morel.type with type parameters of type Pair Modifier and Type Field Description private java.util.Map<java.lang.String,Pair<DataType,Type>>TypeSystem. typeConstructorByNameMethods in net.hydromatic.morel.type that return Pair Modifier and Type Method Description Pair<DataType,Type>TypeSystem. lookupTyCon(java.lang.String tyConName) -
Uses of Pair in net.hydromatic.morel.util
Methods in net.hydromatic.morel.util that return Pair Modifier and Type Method Description Pair<K,V>Pair.MutableZipList. get(int index)Pair<K,V>Pair.ZipList. get(int index)Pair<E,E>Pair.AdjacentIterator. next()Pair<E,E>Pair.FirstAndIterator. next()Pair<L,R>Pair.ZipIterator. next()static <K,V>
Pair<K,V>Pair. of(java.util.Map.Entry<K,V> entry)Creates aPairfrom aMap.Entry.static <T1,T2>
Pair<T1,T2>Pair. of(T1 left, T2 right)Creates a Pair of appropriate type.Pair<K,V>Pair.MutableZipList. remove(int index)Pair<K,V>Pair.MutableZipList. set(int index, Pair<K,V> pair)Methods in net.hydromatic.morel.util that return types with arguments of type Pair Modifier and Type Method Description static <T> java.lang.Iterable<Pair<T,T>>Pair. adjacents(java.lang.Iterable<T> iterable)Returns an iterator that iterates over (i, i + 1) pairs in an iterable.static <T> java.lang.Iterable<Pair<T,T>>Pair. firstAnd(java.lang.Iterable<T> iterable)Returns an iterator that iterates over (0, i) pairs in an iterable for i > 0.static <K,V>
java.lang.Iterable<Pair<K,V>>Pair. zip(java.lang.Iterable<? extends K> ks, java.lang.Iterable<? extends V> vs)Converts two iterables into an iterable ofPairs.static <K,V>
java.util.List<Pair<K,V>>Pair. zip(java.util.List<K> ks, java.util.List<V> vs)Converts two lists into a list ofPairs, whose length is the lesser of the lengths of the source lists.static <K,V>
java.util.List<Pair<K,V>>Pair. zip(java.util.List<K> ks, java.util.List<V> vs, boolean strict)Converts two lists into a list ofPairs.static <K,V>
java.util.List<Pair<K,V>>Pair. zip(K[] ks, V[] vs)Converts two arrays into a list ofPairs.static <K,V>
java.util.List<Pair<K,V>>Pair. zipMutable(java.util.List<K> ks, java.util.List<V> vs)Returns a mutable list of pairs backed by a pair of mutable lists.Methods in net.hydromatic.morel.util with parameters of type Pair Modifier and Type Method Description voidPair.MutableZipList. add(int index, Pair<K,V> pair)intPair. compareTo(Pair<T1,T2> that)Pair<K,V>Pair.MutableZipList. set(int index, Pair<K,V> pair)Method parameters in net.hydromatic.morel.util with type arguments of type Pair Modifier and Type Method Description static <K,V>
java.util.Map<K,V>Pair. toMap(java.lang.Iterable<Pair<K,V>> pairs)Converts a collection of Pairs into a Map.
-