Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for valueType (0.59 sec)

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

       *
       * @param keyType the key type
       * @param valueType the value type
       */
      public static <K extends Enum<K>, V extends Enum<V>> EnumBiMap<K, V> create(
          Class<K> keyType, Class<V> valueType) {
        return new EnumBiMap<>(keyType, valueType);
      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Currency.class, bimap.keyType());
      }
    
      @GwtIncompatible // valueType
      public void testValueType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        assertEquals(Currency.class, bimap.keyType());
      }
    
      @GwtIncompatible // valueType
      public void testValueType() {
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class);
        assertEquals(Country.class, bimap.valueType());
      }
    
      public void testIterationOrder() {
        // The enum orderings are alphabetical, leading to the bimap and its inverse
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                new Entry<Integer, String>() {}.valueType(),
                new TypeToken<String>() {},
                new TypeToken<String>() {})
            .addEqualityGroup(
                TypeToken.of(Integer.class),
                new TypeToken<Integer>() {},
                new Entry<Integer, String>() {}.keyType(),
                new Entry<String, Integer>() {}.valueType())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                new Entry<Integer, String>() {}.valueType(),
                new TypeToken<String>() {},
                new TypeToken<String>() {})
            .addEqualityGroup(
                TypeToken.of(Integer.class),
                new TypeToken<Integer>() {},
                new Entry<Integer, String>() {}.keyType(),
                new Entry<String, Integer>() {}.valueType())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top