Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for doForward (0.06 sec)

  1. android/guava-tests/test/com/google/common/base/ConverterTest.java

    @GwtCompatible(emulated = true)
    public class ConverterTest extends TestCase {
    
      private static final Converter<String, Long> STR_TO_LONG =
          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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 16:09:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Enums.java

          implements Serializable {
    
        private final Class<T> enumClass;
    
        StringConverter(Class<T> enumClass) {
          this.enumClass = checkNotNull(enumClass);
        }
    
        @Override
        protected T doForward(String value) {
          return Enum.valueOf(enumClass, value);
        }
    
        @Override
        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Enums.java

          implements Serializable {
    
        private final Class<T> enumClass;
    
        StringConverter(Class<T> enumClass) {
          this.enumClass = checkNotNull(enumClass);
        }
    
        @Override
        protected T doForward(String value) {
          return Enum.valueOf(enumClass, value);
        }
    
        @Override
        protected String doBackward(T enumValue) {
          return enumValue.name();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CaseFormat.java

          this.sourceFormat = checkNotNull(sourceFormat);
          this.targetFormat = checkNotNull(targetFormat);
        }
    
        @Override
        protected String doForward(String s) {
          return sourceFormat.to(targetFormat, s);
        }
    
        @Override
        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/CaseFormat.java

          this.sourceFormat = checkNotNull(sourceFormat);
          this.targetFormat = checkNotNull(targetFormat);
        }
    
        @Override
        protected String doForward(String s) {
          return sourceFormat.to(targetFormat, s);
        }
    
        @Override
        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top