- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BiMap (9.62 sec)
-
guava-tests/test/com/google/common/collect/MapsTest.java
} public void testAsConverter_withNullMapping() throws Exception { BiMap<String, @Nullable Integer> biMap = HashBiMap.create(); biMap.put("one", 1); biMap.put("two", 2); biMap.put("three", null); try { Maps.asConverter((BiMap<String, Integer>) biMap).convert("three"); fail(); } catch (IllegalArgumentException expected) { } }
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) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
} public void testAsConverter_withNullMapping() throws Exception { BiMap<String, @Nullable Integer> biMap = HashBiMap.create(); biMap.put("one", 1); biMap.put("two", 2); biMap.put("three", null); try { Maps.asConverter((BiMap<String, Integer>) biMap).convert("three"); fail(); } catch (IllegalArgumentException expected) { } }
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) -
android/guava/src/com/google/common/collect/Synchronized.java
} static <K extends @Nullable Object, V extends @Nullable Object> BiMap<K, V> biMap( BiMap<K, V> bimap, @CheckForNull Object mutex) { if (bimap instanceof SynchronizedBiMap || bimap instanceof ImmutableBiMap) { return bimap; } return new SynchronizedBiMap<>(bimap, mutex, null); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 53.4K bytes - Viewed (0)