Home
last modified time | relevance | path

Searched refs:toStringFunction (Results 1 – 20 of 20) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java68 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()
DMapsTransformValuesUnmodifiableIteratorTest.java112 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());
DMapsSortedTransformValuesTest.java46 return Maps.transformValues(underlying, Functions.toStringFunction()); in makePopulatedMap()
DMultimapsTest.java768 Functions.toStringFunction()); in testIndex()
784 Functions.toStringFunction()); in testIndexIterator()
DFluentIterableTest.java585 assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) in testToMap()
DTableCollectionTest.java545 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/
DFunctionsTest.java50 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()
DEquivalenceTest.java98 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()
DOptionalTest.java162 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/
DEquivalenceTest.java108 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()
DFunctionsTest.java59 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()
DConverterTest.java19 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());
DOptionalTest.java165 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/
DCharSequenceUtils.java41 private static final Function<Object, String> TO_STRING = Functions.toStringFunction();
/external/desugar/java/com/google/devtools/build/android/desugar/
DZipInputFileProvider.java62 Iterators.forEnumeration(zipFile.entries()), Functions.toStringFunction()); in iterator()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderClassDef.java101 return Lists.transform(this.interfaces, Functions.toStringFunction()); in getInterfaces()
/external/guava/guava/src/com/google/common/base/
DFunctions.java55 public static Function<Object, String> toStringFunction() { in toStringFunction() method in Functions
/external/v8/src/inspector/
Dv8-console.cc270 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/
DMultimapsTest.java626 Functions.toStringFunction()); in testIndex()
642 Functions.toStringFunction()); in testIndexIterator()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFuturesTest.java287 Futures.transform(input, Functions.toStringFunction(), executor); in testTransform_rejectionPropagatesToOutput()