Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for andThen (0.03 sec)

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

        Converter<StringWrapper, Long> converter = first.andThen(STR_TO_LONG);
    
        assertEquals(LONG_VAL, converter.convert(new StringWrapper(STR_VAL)));
        assertEquals(STR_VAL, converter.reverse().convert(LONG_VAL).value);
    
        assertEquals("StringWrapper.andThen(string2long)", converter.toString());
    
        new EqualsTester()
            .addEqualityGroup(first.andThen(STR_TO_LONG), first.andThen(STR_TO_LONG))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Functions.java

       * is defined as the function h such that {@code h(a) == g(f(a))} for each {@code a}.
       *
       * <p><b>JRE users and Android users who opt in to library desugaring:</b> use {@code
       * g.compose(f)} or (probably clearer) {@code f.andThen(g)} instead. Note that it is not
       * serializable.
       *
       * @param g the second function to apply
       * @param f the first function to apply
       * @return the composition of {@code f} and {@code g}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top