Home
last modified time | relevance | path

Searched refs:comparators (Results 1 – 25 of 53) sorted by relevance

123

/external/guava/guava/src/com/google/common/collect/
DCompoundOrdering.java27 final Comparator<? super T>[] comparators; field in CompoundOrdering
30 this.comparators = (Comparator<? super T>[]) new Comparator[] {primary, secondary}; in CompoundOrdering()
33 CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { in CompoundOrdering() argument
34 this.comparators = Iterables.toArray(comparators, new Comparator[0]); in CompoundOrdering()
39 for (int i = 0; i < comparators.length; i++) { in compare()
40 int result = comparators[i].compare(left, right); in compare()
55 return Arrays.equals(this.comparators, that.comparators); in equals()
62 return Arrays.hashCode(comparators); in hashCode()
67 return "Ordering.compound(" + Arrays.toString(comparators) + ")"; in toString()
DOrdering.java494 public static <T> Ordering<T> compound(Iterable<? extends Comparator<? super T>> comparators) { in compound() argument
495 return new CompoundOrdering<T>(comparators); in compound()
/external/guava/android/guava/src/com/google/common/collect/
DCompoundOrdering.java27 final Comparator<? super T>[] comparators; field in CompoundOrdering
30 this.comparators = (Comparator<? super T>[]) new Comparator[] {primary, secondary}; in CompoundOrdering()
33 CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { in CompoundOrdering() argument
34 this.comparators = Iterables.toArray(comparators, new Comparator[0]); in CompoundOrdering()
39 for (int i = 0; i < comparators.length; i++) { in compare()
40 int result = comparators[i].compare(left, right); in compare()
55 return Arrays.equals(this.comparators, that.comparators); in equals()
62 return Arrays.hashCode(comparators); in hashCode()
67 return "Ordering.compound(" + Arrays.toString(comparators) + ")"; in toString()
DOrdering.java494 public static <T> Ordering<T> compound(Iterable<? extends Comparator<? super T>> comparators) { in compound() argument
495 return new CompoundOrdering<T>(comparators); in compound()
/external/cldr/tools/java/org/unicode/cldr/util/
DArrayComparator.java18 private Comparator[] comparators; field in ArrayComparator
21 public ArrayComparator(Comparator[] comparators, int[] reordering) { in ArrayComparator() argument
22 this.comparators = comparators; in ArrayComparator()
25 this.reordering = new int[comparators.length]; in ArrayComparator()
30 if (this.reordering.length != this.comparators.length) { in ArrayComparator()
36 public ArrayComparator(Comparator... comparators) { in ArrayComparator() argument
37 this(comparators, null); in ArrayComparator()
49 for (int j = 0; j < comparators.length; ++j) { in compare()
51 Comparator comp = comparators[i]; in compare()
DMultiComparator.java12 private Comparator<T>[] comparators; field in MultiComparator
15 public MultiComparator(Comparator<T>... comparators) { in MultiComparator() argument
16 this.comparators = comparators; in MultiComparator()
26 for (int i = 0; i < comparators.length; ++i) { in compare()
27 int result = comparators[i].compare(arg0, arg1); in compare()
/external/emma/core/java12/com/vladium/emma/report/
DItemComparator.java40 final Comparator [] comparators = new Comparator [attributeIDsWithDir.length >> 1]; in create()
46comparators [a >> 1] = attributeIDsWithDir [a + 1] < 0 ? new ReverseComparator (comparator) : comp… in create()
49 return new CompositeComparator (comparators); in create()
97 CompositeComparator (final Comparator [] comparators)
99 m_comparators = comparators;
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_reflectionmodel_comparators_MethodComparator.txt7 …arameters()[i]) ==> com.github.javaparser.symbolsolver.reflectionmodel.comparators.ParameterCompar…
10 …etReturnType()) ==> com.github.javaparser.symbolsolver.reflectionmodel.comparators.ClassComparator…
Dcom_github_javaparser_symbolsolver_reflectionmodel_comparators_ParameterComparator.txt4 …, o2.getType()) ==> com.github.javaparser.symbolsolver.reflectionmodel.comparators.ClassComparator…
/external/tensorflow/tensorflow/compiler/xla/client/lib/
DBUILD58 name = "comparators",
59 srcs = ["comparators.cc"],
61 "comparators.h",
80 ":comparators",
362 ":comparators",
448 ":comparators",
500 ":comparators",
Dcomparators.h52 comparators,
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/comparators/
DParameterComparator.java1 package com.github.javaparser.symbolsolver.reflectionmodel.comparators;
DMethodComparator.java1 package com.github.javaparser.symbolsolver.reflectionmodel.comparators;
DClassComparator.java1 package com.github.javaparser.symbolsolver.reflectionmodel.comparators;
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/comparators/
DParameterComparator.java1 package com.github.javaparser.symbolsolver.reflectionmodel.comparators;
DMethodComparator.java1 package com.github.javaparser.symbolsolver.reflectionmodel.comparators;
DClassComparator.java1 package com.github.javaparser.symbolsolver.reflectionmodel.comparators;
/external/python/cpython3/Python/
Dast_unparse.c456 asdl_seq *comparators; in append_ast_compare() local
461 comparators = e->v.Compare.comparators; in append_ast_compare()
463 comparator_count = asdl_seq_LEN(comparators); in append_ast_compare()
508 APPEND_EXPR((expr_ty)asdl_seq_GET(comparators, i), PR_CMP + 1); in append_ast_compare()
/external/tensorflow/tensorflow/core/tpu/kernels/xla/
DBUILD39 "//tensorflow/compiler/xla/client/lib:comparators",
/external/tensorflow/tensorflow/python/autograph/converters/
Dlogical_expressions.py90 ops_and_comps = list(zip(node.ops, node.comparators))
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
DBUILD42 "//tensorflow/compiler/xla/client/lib:comparators",
/external/python/cpython2/Parser/
DPython.asdl68 | Compare(expr left, cmpop* ops, expr* comparators)
/external/python/cpython3/Parser/
DPython.asdl73 | Compare(expr left, cmpop* ops, expr* comparators)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclaration.java31 import com.github.javaparser.symbolsolver.reflectionmodel.comparators.MethodComparator;
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionClassDeclaration.java33 import com.github.javaparser.symbolsolver.reflectionmodel.comparators.MethodComparator;

123