/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTransformValuesTest.java | 68 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap() 98 ImmutableMap.<String, Integer>of(), Functions.toStringFunction()); in testTransformEmptyMapEquality() 104 ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformSingletonMapEquality() 119 ImmutableMap.of("a", 1), Functions.toStringFunction()); in testTransformPutEntryIsUnsupported() 143 = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformRemoveEntry() 177 = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformReflectsUnderlyingMap() 202 = Maps.transformValues(underlying, Functions.toStringFunction()); in testTransformChangesAreReflectedInUnderlyingMap()
|
D | MapsTransformValuesUnmodifiableIteratorTest.java | 112 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); 121 new UnmodifiableIteratorMap<String, Integer>(underlying), Functions.toStringFunction()); 151 ImmutableMap.<String, Integer>of(), Functions.toStringFunction()); 157 ImmutableMap.of("a", 1), Functions.toStringFunction()); 172 ImmutableMap.of("a", 1), Functions.toStringFunction()); 196 = Maps.transformValues(underlying, Functions.toStringFunction()); 230 = Maps.transformValues(underlying, Functions.toStringFunction()); 255 = Maps.transformValues(underlying, Functions.toStringFunction());
|
D | MapsSortedTransformValuesTest.java | 46 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap()
|
D | MultimapsTest.java | 768 Functions.toStringFunction()); in testIndex() 784 Functions.toStringFunction()); in testIndexIterator()
|
D | FluentIterableTest.java | 585 assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) in testToMap()
|
D | TableCollectionTest.java | 545 return Tables.transformValues(table, Functions.toStringFunction()).column(1).keySet(); in suite()
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | FunctionsTest.java | 50 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply() 51 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply() 53 Functions.toStringFunction().apply( in testToStringFunction_apply() 60 Functions.toStringFunction().apply(null); in testToStringFunction_apply() 265 .addEqualityGroup(Functions.toStringFunction()) in testConstant() 272 .addEqualityGroup(Functions.toStringFunction()) in testConstant() 314 .addEqualityGroup(Functions.toStringFunction()) in testForSupplier()
|
D | EquivalenceTest.java | 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()
|
D | OptionalTest.java | 162 assertEquals(Optional.absent(), Optional.absent().transform(Functions.toStringFunction())); in testTransform_absent() 170 assertEquals(Optional.of("42"), Optional.of(42).transform(Functions.toStringFunction())); in testTransform_presentToString()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | EquivalenceTest.java | 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()
|
D | FunctionsTest.java | 59 assertEquals("3", Functions.toStringFunction().apply(3)); in testToStringFunction_apply() 60 assertEquals("hiya", Functions.toStringFunction().apply("hiya")); in testToStringFunction_apply() 62 Functions.toStringFunction().apply( in testToStringFunction_apply() 69 Functions.toStringFunction().apply(null); in testToStringFunction_apply() 78 checkCanReserializeSingleton(Functions.toStringFunction()); in testToStringFunctionSerializable() 368 .addEqualityGroup(Functions.toStringFunction()) in testConstant() 375 .addEqualityGroup(Functions.toStringFunction()) in testConstant() 422 .addEqualityGroup(Functions.toStringFunction()) in testForSupplier()
|
D | ConverterTest.java | 19 import static com.google.common.base.Functions.toStringFunction; 160 Function<Object, String> backward = toStringFunction(); in testFrom() 216 Converter<String, String> dumb = Converter.from(toStringFunction(), toStringFunction());
|
D | OptionalTest.java | 165 assertEquals(Optional.absent(), Optional.absent().transform(Functions.toStringFunction())); in testTransform_absent() 173 assertEquals(Optional.of("42"), Optional.of(42).transform(Functions.toStringFunction())); in testTransform_presentToString()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | CharSequenceUtils.java | 41 private static final Function<Object, String> TO_STRING = Functions.toStringFunction();
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | ZipInputFileProvider.java | 62 Iterators.forEnumeration(zipFile.entries()), Functions.toStringFunction()); in iterator()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
D | BuilderClassDef.java | 101 return Lists.transform(this.interfaces, Functions.toStringFunction()); in getInterfaces()
|
/external/guava/guava/src/com/google/common/base/ |
D | Functions.java | 55 public static Function<Object, String> toStringFunction() { in toStringFunction() method in Functions
|
/external/v8/src/inspector/ |
D | v8-console.cc | 270 v8::Local<v8::Function> toStringFunction; in createBoundFunctionProperty() local 273 .ToLocal(&toStringFunction)) in createBoundFunctionProperty() 276 toStringFunction); in createBoundFunctionProperty()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | MultimapsTest.java | 626 Functions.toStringFunction()); in testIndex() 642 Functions.toStringFunction()); in testIndexIterator()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | FuturesTest.java | 287 Futures.transform(input, Functions.toStringFunction(), executor); in testTransform_rejectionPropagatesToOutput()
|