Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for fromProperties (0.28 sec)

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

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Maps.fromProperties
      public void testFromProperties() throws IOException {
        Properties testProp = new Properties();
    
        Map<String, String> result = Maps.fromProperties(testProp);
        assertTrue(result.isEmpty());
        testProp.setProperty("first", "true");
    
        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // Maps.fromProperties
      public void testFromProperties() throws IOException {
        Properties testProp = new Properties();
    
        Map<String, String> result = Maps.fromProperties(testProp);
        assertTrue(result.isEmpty());
        testProp.setProperty("first", "true");
    
        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

       * @throws NullPointerException if any key or value in {@code properties} is null
       */
      @J2ktIncompatible
      @GwtIncompatible // java.util.Properties
      public static ImmutableMap<String, String> fromProperties(Properties properties) {
        ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
    
        for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements(); ) {
          /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       * @throws NullPointerException if any key or value in {@code properties} is null
       */
      @J2ktIncompatible
      @GwtIncompatible // java.util.Properties
      public static ImmutableMap<String, String> fromProperties(Properties properties) {
        ImmutableMap.Builder<String, String> builder = ImmutableMap.builder();
    
        for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements(); ) {
          /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
Back to top