Home
last modified time | relevance | path

Searched refs:stringConverter (Results 1 – 25 of 32) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/base/
DEnumsTest.java108 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convert()
117 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convertError()
126 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_reverse()
134 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_nullPointerTester()
140 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_nullConversions()
149 Enums.stringConverter(TestEnum.class).toString()); in testStringConverter_toString()
153 SerializableTester.reserializeAndAssert(Enums.stringConverter(TestEnum.class)); in testStringConverter_serialization()
DConverterTest.java204 Converter<Long, String> reverseConverter = Longs.stringConverter().reverse();
209 Converter<String, Long> converterA = Longs.stringConverter();
210 Converter<Long, String> reverseConverter = Longs.stringConverter().reverse();
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DEnumsTest.java74 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convert()
83 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_convertError()
92 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_reverse()
99 Converter<String, TestEnum> converter = Enums.stringConverter(TestEnum.class); in testStringConverter_nullConversions()
105 SerializableTester.reserializeAndAssert(Enums.stringConverter(TestEnum.class)); in testStringConverter_serialization()
/external/guava/guava-tests/test/com/google/common/primitives/
DLongsTest.java304 SerializableTester.reserializeAndAssert(Longs.stringConverter()); in testStringConverterSerialization()
408 Converter<String, Long> converter = Longs.stringConverter(); in testStringConverter_convert()
421 Longs.stringConverter().convert("notanumber"); in testStringConverter_convertError()
428 assertNull(Longs.stringConverter().convert(null)); in testStringConverter_nullConversions()
429 assertNull(Longs.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
433 Converter<String, Long> converter = Longs.stringConverter(); in testStringConverter_reverse()
446 tester.testAllPublicInstanceMethods(Longs.stringConverter()); in testStringConverter_nullPointerTester()
DShortsTest.java328 SerializableTester.reserializeAndAssert(Shorts.stringConverter()); in testStringConverterSerialization()
432 Converter<String, Short> converter = Shorts.stringConverter(); in testStringConverter_convert()
445 Shorts.stringConverter().convert("notanumber"); in testStringConverter_convertError()
452 assertNull(Shorts.stringConverter().convert(null)); in testStringConverter_nullConversions()
453 assertNull(Shorts.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
457 Converter<String, Short> converter = Shorts.stringConverter(); in testStringConverter_reverse()
470 tester.testAllPublicInstanceMethods(Shorts.stringConverter()); in testStringConverter_nullPointerTester()
DIntsTest.java321 SerializableTester.reserializeAndAssert(Ints.stringConverter()); in testStringConverterSerialization()
425 Converter<String, Integer> converter = Ints.stringConverter(); in testStringConverter_convert()
438 Ints.stringConverter().convert("notanumber"); in testStringConverter_convertError()
445 assertNull(Ints.stringConverter().convert(null)); in testStringConverter_nullConversions()
446 assertNull(Ints.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
450 Converter<String, Integer> converter = Ints.stringConverter(); in testStringConverter_reverse()
463 tester.testAllPublicInstanceMethods(Ints.stringConverter()); in testStringConverter_nullPointerTester()
DDoublesTest.java304 SerializableTester.reserializeAndAssert(Doubles.stringConverter()); in testStringConverterSerialization()
508 Converter<String, Double> converter = Doubles.stringConverter(); in testStringConverter_convert()
521 Doubles.stringConverter().convert("notanumber"); in testStringConverter_convertError()
528 assertNull(Doubles.stringConverter().convert(null)); in testStringConverter_nullConversions()
529 assertNull(Doubles.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
534 Converter<String, Double> converter = Doubles.stringConverter(); in testStringConverter_reverse()
545 tester.testAllPublicInstanceMethods(Doubles.stringConverter()); in testStringConverter_nullPointerTester()
DFloatsTest.java295 SerializableTester.reserializeAndAssert(Floats.stringConverter()); in testStringConverterSerialization()
495 Converter<String, Float> converter = Floats.stringConverter(); in testStringConverter_convert()
508 Floats.stringConverter().convert("notanumber"); in testStringConverter_convertError()
515 assertNull(Floats.stringConverter().convert(null)); in testStringConverter_nullConversions()
516 assertNull(Floats.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
521 Converter<String, Float> converter = Floats.stringConverter(); in testStringConverter_reverse()
532 tester.testAllPublicInstanceMethods(Floats.stringConverter()); in testStringConverter_nullPointerTester()
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DShortsTest.java367 Converter<String, Short> converter = Shorts.stringConverter(); in testStringConverter_convert()
380 Shorts.stringConverter().convert("notanumber"); in testStringConverter_convertError()
387 assertNull(Shorts.stringConverter().convert(null)); in testStringConverter_nullConversions()
388 assertNull(Shorts.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
392 Converter<String, Short> converter = Shorts.stringConverter(); in testStringConverter_reverse()
DLongsTest.java381 Converter<String, Long> converter = Longs.stringConverter(); in testStringConverter_convert()
394 Longs.stringConverter().convert("notanumber"); in testStringConverter_convertError()
401 assertNull(Longs.stringConverter().convert(null)); in testStringConverter_nullConversions()
402 assertNull(Longs.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
406 Converter<String, Long> converter = Longs.stringConverter(); in testStringConverter_reverse()
DIntsTest.java359 Converter<String, Integer> converter = Ints.stringConverter(); in testStringConverter_convert()
372 Ints.stringConverter().convert("notanumber"); in testStringConverter_convertError()
379 assertNull(Ints.stringConverter().convert(null)); in testStringConverter_nullConversions()
380 assertNull(Ints.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
384 Converter<String, Integer> converter = Ints.stringConverter(); in testStringConverter_reverse()
DDoublesTest.java398 Converter<String, Double> converter = Doubles.stringConverter(); in testStringConverter_convert()
411 Doubles.stringConverter().convert("notanumber"); in testStringConverter_convertError()
418 assertNull(Doubles.stringConverter().convert(null)); in testStringConverter_nullConversions()
419 assertNull(Doubles.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
DFloatsTest.java389 Floats.stringConverter().convert("notanumber"); in testStringConverter_convertError()
396 assertNull(Floats.stringConverter().convert(null)); in testStringConverter_nullConversions()
397 assertNull(Floats.stringConverter().reverse().convert(null)); in testStringConverter_nullConversions()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DEnums.java64 public static <T extends Enum<T>> Converter<String, T> stringConverter(final Class<T> enumClass) { in stringConverter() method in Enums
/external/guava/guava/src/com/google/common/base/
DEnums.java118 public static <T extends Enum<T>> Converter<String, T> stringConverter(final Class<T> enumClass) { in stringConverter() method in Enums
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DFloats.java295 public static Converter<String, Float> stringConverter() { in stringConverter() method in Floats
DDoubles.java298 public static Converter<String, Double> stringConverter() { in stringConverter() method in Doubles
DShorts.java316 public static Converter<String, Short> stringConverter() { in stringConverter() method in Shorts
DInts.java318 public static Converter<String, Integer> stringConverter() { in stringConverter() method in Ints
/external/guava/guava/src/com/google/common/primitives/
DFloats.java299 public static Converter<String, Float> stringConverter() { in stringConverter() method in Floats
DDoubles.java303 public static Converter<String, Double> stringConverter() { in stringConverter() method in Doubles
DShorts.java368 public static Converter<String, Short> stringConverter() { in stringConverter() method in Shorts
DLongs.java402 public static Converter<String, Long> stringConverter() { in stringConverter() method in Longs
DInts.java370 public static Converter<String, Integer> stringConverter() { in stringConverter() method in Ints
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12