- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,410 for put (0.01 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
.put(ClassCastException.class, e -> e instanceof ClassCastException) .put( ConcurrentModificationException.class, e -> e instanceof ConcurrentModificationException) .put(ExecutionError.class, e -> e instanceof ExecutionError) .put(ExecutionException.class, e -> e instanceof ExecutionException)Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
// primitives .put(Object.class, "") .put(Number.class, 0) .put(UnsignedInteger.class, UnsignedInteger.ZERO) .put(UnsignedLong.class, UnsignedLong.ZERO) .put(BigInteger.class, BigInteger.ZERO) .put(BigDecimal.class, BigDecimal.ZERO) .put(CharSequence.class, "") .put(String.class, "") .put(Pattern.class, Pattern.compile(""))Created: 2026-04-03 12:43 - Last Modified: 2025-09-23 17:50 - 20.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
.put(ClassCastException.class, e -> e instanceof ClassCastException) .put( ConcurrentModificationException.class, e -> e instanceof ConcurrentModificationException) .put(ExecutionError.class, e -> e instanceof ExecutionError) .put(ExecutionException.class, e -> e instanceof ExecutionException)Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 6.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 6.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 6.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java
.put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException) .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException) .put(NullPointerException.class, e -> e instanceof NullPointerException) .put(NumberFormatException.class, e -> e instanceof NumberFormatException) .put(RuntimeException.class, e -> e instanceof RuntimeException)Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
ImmutableRangeMap<Integer, Integer> nonEmptyRangeMap = new ImmutableRangeMap.Builder<Integer, Integer>() .put(Range.closed(2, 4), 5) .put(Range.open(6, 7), 3) .put(Range.closedOpen(8, 10), 4) .put(Range.openClosed(15, 17), 2) .build(); ImmutableMap<Range<Integer>, Integer> test = nonEmptyRangeMap.asMapOfRanges();Created: 2026-04-03 12:43 - Last Modified: 2025-05-13 18:46 - 9.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_supportedPresent() { assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPut_supportedNotPresent() { assertNull("put(notPresent, value) should return null", put(e3())); expectAdded(e3()); }
Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 9.1K bytes - Click Count (0)