Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for doBackward (0.17 sec)

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

     *   <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);
     *     }
     *
     *     protected Integer doBackward(String s) {
     *       return parseUnsignedInt(s, 16);
     *     }
    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-tests/test/com/google/common/base/ConverterTest.java

          new Converter<String, Long>() {
            @Override
            protected Long doForward(String object) {
              return Long.valueOf(object);
            }
    
            @Override
            protected String doBackward(Long object) {
              return String.valueOf(object);
            }
    
            @Override
            public String toString() {
              return "string2long";
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

        @Override
        protected Short doForward(String value) {
          return Short.decode(value);
        }
    
        @Override
        protected String doBackward(Short value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
          return "Shorts.stringConverter()";
        }
    
        private Object readResolve() {
    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. guava/src/com/google/common/primitives/Shorts.java

        @Override
        protected Short doForward(String value) {
          return Short.decode(value);
        }
    
        @Override
        protected String doBackward(Short value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
          return "Shorts.stringConverter()";
        }
    
        private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

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

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

        @Override
        protected Integer doForward(String value) {
          return Integer.decode(value);
        }
    
        @Override
        protected String doBackward(Integer value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
          return "Ints.stringConverter()";
        }
    
        private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Floats.java

        @Override
        protected Float doForward(String value) {
          return Float.valueOf(value);
        }
    
        @Override
        protected String doBackward(Float value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
          return "Floats.stringConverter()";
        }
    
        private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

        @Override
        protected Double doForward(String value) {
          return Double.valueOf(value);
        }
    
        @Override
        protected String doBackward(Double value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
          return "Doubles.stringConverter()";
        }
    
        private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Floats.java

        @Override
        protected Float doForward(String value) {
          return Float.valueOf(value);
        }
    
        @Override
        protected String doBackward(Float value) {
          return value.toString();
        }
    
        @Override
        public String toString() {
          return "Floats.stringConverter()";
        }
    
        private Object readResolve() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top