Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for doForward (0.05 sec)

  1. android/guava/src/com/google/common/base/Converter.java

     *       Stream.map}).
     *   <li><b>Do not</b> call {@link #doForward} or {@link #doBackward} directly; these exist only to
     *       be overridden.
     * </ul>
     *
     * <h3>Example</h3>
     *
     * <pre>
     *   return new Converter&lt;Integer, String&gt;() {
     *     protected String doForward(Integer i) {
     *       return Integer.toHexString(i);
     *     }
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Shorts.java

      private static final class ShortConverter extends Converter<String, Short>
          implements Serializable {
        static final Converter<String, Short> INSTANCE = new ShortConverter();
    
        @Override
        protected Short doForward(String value) {
          return Short.decode(value);
        }
    
        @Override
        protected String doBackward(Short value) {
          return value.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Shorts.java

      private static final class ShortConverter extends Converter<String, Short>
          implements Serializable {
        static final Converter<String, Short> INSTANCE = new ShortConverter();
    
        @Override
        protected Short doForward(String value) {
          return Short.decode(value);
        }
    
        @Override
        protected String doBackward(Short value) {
          return value.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private <F, T> Converter<F, T> defaultConverter(
          final TypeToken<F> convertFromType, final TypeToken<T> convertToType) {
        return new Converter<F, T>() {
          @Override
          protected T doForward(F a) {
            return doConvert(convertToType);
          }
    
          @Override
          protected F doBackward(T b) {
            return doConvert(convertFromType);
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

      }
    
      private <F, T> Converter<F, T> defaultConverter(
          final TypeToken<F> convertFromType, final TypeToken<T> convertToType) {
        return new Converter<F, T>() {
          @Override
          protected T doForward(F a) {
            return doConvert(convertToType);
          }
    
          @Override
          protected F doBackward(T b) {
            return doConvert(convertFromType);
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Ints.java

          implements Serializable {
        static final Converter<String, Integer> INSTANCE = new IntConverter();
    
        @Override
        protected Integer doForward(String value) {
          return Integer.decode(value);
        }
    
        @Override
        protected String doBackward(Integer value) {
          return value.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Floats.java

      private static final class FloatConverter extends Converter<String, Float>
          implements Serializable {
        static final Converter<String, Float> INSTANCE = new FloatConverter();
    
        @Override
        protected Float doForward(String value) {
          return Float.valueOf(value);
        }
    
        @Override
        protected String doBackward(Float value) {
          return value.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Doubles.java

          implements Serializable {
        static final Converter<String, Double> INSTANCE = new DoubleConverter();
    
        @Override
        protected Double doForward(String value) {
          return Double.valueOf(value);
        }
    
        @Override
        protected String doBackward(Double value) {
          return value.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Floats.java

      private static final class FloatConverter extends Converter<String, Float>
          implements Serializable {
        static final Converter<String, Float> INSTANCE = new FloatConverter();
    
        @Override
        protected Float doForward(String value) {
          return Float.valueOf(value);
        }
    
        @Override
        protected String doBackward(Float value) {
          return value.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Doubles.java

          implements Serializable {
        static final Converter<String, Double> INSTANCE = new DoubleConverter();
    
        @Override
        protected Double doForward(String value) {
          return Double.valueOf(value);
        }
    
        @Override
        protected String doBackward(Double value) {
          return value.toString();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top