- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for toStringFunction (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/base/ConverterTest.java
SerializableTester.reserializeAndAssert(composedConverter); } public void testSerialization_from() { Converter<String, String> dumb = Converter.from(toStringFunction(), toStringFunction()); SerializableTester.reserializeAndAssert(dumb); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 8.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Functions.toStringFunction; import static com.google.common.collect.Maps.uniqueIndex; import static java.util.Arrays.asList; import com.google.caliper.BeforeExperiment; import com.google.caliper.Benchmark; import com.google.caliper.Param;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
Map<String, String> map = transformValues(ImmutableMap.<String, Integer>of(), Functions.toStringFunction()); assertMapsEqual(new HashMap<>(), map); } public void testTransformSingletonMapEquality() { Map<String, String> map = transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); Map<String, String> expected = ImmutableMap.of("a", "1"); assertMapsEqual(expected, map);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction())) .addEquivalenceGroup(new IntValue(1), new IntValue(1)) .addEquivalenceGroup(new IntValue(2)) .test(); } public void testOnResultOf_equals() { new EqualsTester() .addEqualityGroup( Equivalence.identity().onResultOf(Functions.toStringFunction()),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java
SortedMap<String, Integer> underlying = Maps.newTreeMap(); underlying.put("a", 1); underlying.put("b", 2); underlying.put("c", 3); return transformValues(underlying, Functions.toStringFunction()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1.5K bytes - Click Count (0)