Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InternerFunction (0.1 sec)

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

        String canonical = "a";
        String not = new String("a");
    
        Function<String, String> internerFunction =
            Interners.asFunction(Interners.<String>newStrongInterner());
    
        assertSame(canonical, internerFunction.apply(canonical));
        assertSame(canonical, internerFunction.apply(not));
      }
    
      public void testNullPointerExceptions() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/InternersTest.java

        String canonical = "a";
        String not = new String("a");
    
        Function<String, String> internerFunction =
            Interners.asFunction(Interners.<String>newStrongInterner());
    
        assertSame(canonical, internerFunction.apply(canonical));
        assertSame(canonical, internerFunction.apply(not));
      }
    
      public void testNullPointerExceptions() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top