Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lengthOf (0.15 sec)

  1. guava-tests/test/com/google/common/collect/MapsTest.java

      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
        Set<String> strings = ImmutableSet.of("one", "two", "three");
        Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
        Set<String> strings = ImmutableSet.of("one", "two", "three");
        Map<String, Integer> map = Maps.asMap(strings, LENGTH_FUNCTION);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
Back to top