Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for copyOfEnumMap (0.09 sec)

  1. guava/src/com/google/common/collect/ImmutableMap.java

          }
        } else if (map instanceof EnumMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap =
              (ImmutableMap<K, V>)
                  copyOfEnumMap(
                      (EnumMap<?, ? extends V>) map); // hide K (violates bounds) from J2KT, preserve V.
          return kvMap;
        }
        return copyOf(map.entrySet());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top