Uses of Class
net.hydromatic.morel.util.Pair
Packages that use Pair
Package
Description
Standard ML interpreter, implemented in Java.
Abstract syntax tree.
Validates programs
(represented as
AstNode),
deduces their type,
and compiles them into code that can be evaluated.Type system.
Utilities.
-
Uses of Pair in net.hydromatic.morel
Methods in net.hydromatic.morel that return PairModifier and TypeMethodDescriptionShell.LineFn.read(StringBuilder buf) Shell.ReaderLineFn.read(StringBuilder buf) Shell.TerminalLineFn.read(StringBuilder buf) -
Uses of Pair in net.hydromatic.morel.ast
Methods in net.hydromatic.morel.ast that return PairModifier and TypeMethodDescriptionCoreBuilder.mergeExtents(TypeSystem typeSystem, List<? extends Core.Exp> exps, boolean intersect) Creates a Pos from a filename and a string with a delimiter character. -
Uses of Pair in net.hydromatic.morel.compile
Fields in net.hydromatic.morel.compile with type parameters of type PairModifier and TypeFieldDescriptionprivate final Map<Pair<Core.NamedPat, Type>, Core.NamedPat> Resolver.variantIdMapContains variable declarations whose type at the point they are used is different (more specific) than in their declaration.Methods in net.hydromatic.morel.compile that return PairModifier and TypeMethodDescriptionprivate Pair<TypeResolver.TypeEnv, Unifier.Variable> TypeResolver.deduceStepType(TypeResolver.TypeEnv env, Ast.FromStep step, Unifier.Variable v, TypeResolver.TypeEnv env2, Map<Ast.Id, Unifier.Variable> fieldVars, List<Ast.FromStep> fromSteps) Constructor parameters in net.hydromatic.morel.compile with type arguments of type PairModifierConstructorDescriptionprivateResolver(TypeMap typeMap, NameGenerator nameGenerator, Map<Pair<Core.NamedPat, Type>, Core.NamedPat> variantIdMap, Environment env, @Nullable Session session) -
Uses of Pair in net.hydromatic.morel.type
Fields in net.hydromatic.morel.type with type parameters of type PairMethods in net.hydromatic.morel.type that return Pair -
Uses of Pair in net.hydromatic.morel.util
Methods in net.hydromatic.morel.util that return PairModifier and TypeMethodDescriptionPair.MutableZipList.get(int index) Pair.ZipList.get(int index) Pair.AdjacentIterator.next()Pair.FirstAndIterator.next()Pair.ZipIterator.next()static <K,V> Pair <K, V> Creates aPairfrom aMap.Entry.static <T1,T2> Pair <T1, T2> Pair.of(T1 left, T2 right) Creates a Pair of appropriate type.Pair.MutableZipList.remove(int index) Methods in net.hydromatic.morel.util that return types with arguments of type PairModifier and TypeMethodDescriptionReturns an iterator that iterates over (i, i + 1) pairs in an iterable.Returns an iterator that iterates over (0, i) pairs in an iterable for i > 0.Converts two iterables into an iterable ofPairs.Converts two lists into a list ofPairs, whose length is the lesser of the lengths of the source lists.Converts two lists into a list ofPairs.Pair.zip(K[] ks, V[] vs) Converts two arrays into a list ofPairs.Pair.zipMutable(List<K> ks, 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 PairModifier and TypeMethodDescriptionvoidintMethod parameters in net.hydromatic.morel.util with type arguments of type Pair