- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 568 for PUT (0.15 sec)
-
android/guava-tests/test/com/google/common/base/Utf8Test.java
HashMap<Integer, Integer> utf8Lengths = new HashMap<>(); utf8Lengths.put(0x00, 1); utf8Lengths.put(0x7f, 1); utf8Lengths.put(0x80, 2); utf8Lengths.put(0x7ff, 2); utf8Lengths.put(0x800, 3); utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT - 1, 3); utf8Lengths.put(MIN_SUPPLEMENTARY_CODE_POINT, 4); utf8Lengths.put(MAX_CODE_POINT, 4);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
int initialSize = map.size(); V oldValue = map.put(keyToPut, valueToPut); assertEquals(valueToPut, map.get(keyToPut)); assertTrue(map.containsKey(keyToPut)); assertTrue(map.containsValue(valueToPut)); assertEquals(initialSize + 1, map.size()); assertNull(oldValue); } else { try { map.put(keyToPut, valueToPut);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 45.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
HashMultimap<K, V> multimap = HashMultimap.create(); multimap.put(key, value); return multimap; } @Generates static <K, V> LinkedHashMultimap<K, V> generateLinkedHashMultimap( @Nullable K key, @Nullable V value) { LinkedHashMultimap<K, V> multimap = LinkedHashMultimap.create(); multimap.put(key, value); return multimap; } @Generates
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
return map.entrySet(); } @Override public @Nullable String put(String key, String value) { checkNotNull(key); return map.put(key, value); } }; } }, "HashMap w/out null keys", ALLOWS_NULL_VALUES); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
} @Override protected SortedMap<String, Integer> makePopulatedMap() { final SortedMap<String, Integer> sortedMap = makeEmptyMap(); sortedMap.put("one", 1); sortedMap.put("two", 2); sortedMap.put("three", 3); return sortedMap; } @Override protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException { return "minus one"; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
Object oldValue = new Object(); Object newValue = new Object(); // no entry assertEquals(0, segment.count); assertNull(segment.put(key, hash, oldValue, false)); assertEquals(1, segment.count); // same key assertSame(oldValue, segment.put(key, hash, newValue, false)); assertEquals(1, segment.count); assertSame(newValue, segment.get(key, hash)); // cleared
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 35.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
Object oldValue = new Object(); Object newValue = new Object(); // no entry assertEquals(0, segment.count); assertNull(segment.put(key, hash, oldValue, false)); assertEquals(1, segment.count); // same key assertSame(oldValue, segment.put(key, hash, newValue, false)); assertEquals(1, segment.count); assertSame(newValue, segment.get(key, hash)); // cleared
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 35.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
return map.entrySet(); } @Override public @Nullable String put(String key, String value) { checkNotNull(key); return map.put(key, value); } }; } }, "HashMap w/out null keys", ALLOWS_NULL_VALUES); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
} catch (InvocationTargetException exception) { responseQueue.put(new Response(request.methodName, null, exception.getTargetException())); continue; } catch (Throwable throwable) { responseQueue.put(new Response(request.methodName, null, throwable)); continue; } responseQueue.put(new Response(request.methodName, result, null)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapReplaceValuesTester.java
* the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_PUT; import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.SetMultimap;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 1.6K bytes - Viewed (0)