Home
last modified time | relevance | path

Searched refs:onResultOf (Results 1 – 14 of 14) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEquivalenceTest.java60 .onResultOf(LengthFunction.INSTANCE);
98 EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction())) in testOnResultOf()
107 Equivalence.identity().onResultOf(Functions.toStringFunction()), in testOnResultOf_equals()
108 Equivalence.identity().onResultOf(Functions.toStringFunction())) in testOnResultOf_equals()
109 .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction())) in testOnResultOf_equals()
110 .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity())) in testOnResultOf_equals()
/external/guava/guava-tests/test/com/google/common/base/
DEquivalenceTest.java63 .onResultOf(LengthFunction.INSTANCE);
108 EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction())) in testOnResultOf()
117 Equivalence.identity().onResultOf(Functions.toStringFunction()), in testOnResultOf_equals()
118 Equivalence.identity().onResultOf(Functions.toStringFunction())) in testOnResultOf_equals()
119 .addEqualityGroup(Equivalence.equals().onResultOf(Functions.toStringFunction())) in testOnResultOf_equals()
120 .addEqualityGroup(Equivalence.identity().onResultOf(Functions.identity())) in testOnResultOf_equals()
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java240 return Ordering.natural().onResultOf(CharAtFunction.values()[index]);
342 = Ordering.natural().onResultOf(StringLengthFunction.StringLength);
350 Ordering.natural().onResultOf(StringLengthFunction.StringLength))
359 Comparator<String> comparator = DECREASING_INTEGER.onResultOf(
368 DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength))
370 DECREASING_INTEGER.onResultOf(Functions.constant(1)))
1012 Ordering<Integer> ordering = scenario.ordering.onResultOf(
1035 scenario.ordering.onResultOf(Composite.<T>getValueFunction())
1051 scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
DImmutableSortedMultisetTest.java175 .onResultOf(new Function<String[], Iterable<Comparable>>() { in testCreation_arrayOfArray()
DMapsTest.java440 Equivalence<String> caseInsensitiveEquivalence = Equivalence.equals().onResultOf( in testMapDifferencePredicateTypical()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java238 return Ordering.natural().onResultOf(CharAtFunction.values()[index]);
340 = Ordering.natural().onResultOf(StringLengthFunction.StringLength);
348 Ordering.natural().onResultOf(StringLengthFunction.StringLength))
357 Comparator<String> comparator = DECREASING_INTEGER.onResultOf(
366 DECREASING_INTEGER.onResultOf(StringLengthFunction.StringLength))
368 DECREASING_INTEGER.onResultOf(Functions.constant(1)))
978 Ordering<Integer> ordering = scenario.ordering.onResultOf(
1001 scenario.ordering.onResultOf(Composite.<T>getValueFunction())
1017 scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
DMapsTest.java374 Equivalence<String> caseInsensitiveEquivalence = Equivalence.equals().onResultOf( in testMapDifferencePredicateTypical()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DMinMaxPriorityQueueBenchmark.java145 return Ordering.natural().onResultOf(new ExpensiveComputation()); in get()
/external/guava/guava/src/com/google/common/base/
DEquivalence.java139 public final <F> Equivalence<F> onResultOf(Function<F, ? extends T> function) { in onResultOf() method in Equivalence
/external/guava/guava/src/com/google/common/collect/
DOrdering.java368 public <F> Ordering<F> onResultOf(Function<F, ? extends T> function) { in onResultOf() method in Ordering
373 return onResultOf(Maps.<T2>keyFunction()); in onKeys()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java152 assertTrue(Ordering.natural().onResultOf(Functions.forMap(indexByLock)).isOrdered(locks)); in testBulkGetReturnsSorted()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DExperimentingRunnerModule.java260 Ordering.natural().onResultOf(new Function<Method, String>() { in findAllBenchmarkMethods()
/external/guava/guava/src/com/google/common/util/concurrent/
DServiceManager.java606 .onResultOf(new Function<Entry<Service, Long>, Long>() { in startupTimes()
DFutures.java1571 Ordering.natural().onResultOf(new Function<Constructor<?>, Boolean>() {