- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 3,938 for toObject (0.14 sec)
-
android/guava/src/com/google/common/collect/AbstractSetMultimap.java
} /** * Compares the specified object to this multimap for equality. * * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values. * Equality does not depend on the ordering of keys or values. */ @Override public boolean equals(@CheckForNull Object object) { return super.equals(object); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
} } public void testPut_populated() { for (LoadingCache<Object, Object> cache : caches()) { // don't let the entries get GCed List<Entry<Object, Object>> warmed = warmUp(cache); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); Object newValue = new Object(); assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ConverterTest.java
new Converter<String, Long>() { @Override protected Long doForward(String object) { return Long.valueOf(object); } @Override protected String doBackward(Long object) { return String.valueOf(object); } @Override public String toString() { return "string2long"; } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java
} public void testGetUnchecked_unchecked() { final RuntimeException cause = new RuntimeException(); final AtomicReference<Object> valueRef = new AtomicReference<>(); LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { @Override public Object get(Object key) throws ExecutionException { Object v = valueRef.get();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
return (prefix & ~mask) | (suffix & mask); } static int remove( @CheckForNull Object key, @CheckForNull Object value, int mask, Object table, int[] entries, @Nullable Object[] keys, @CheckForNull @Nullable Object[] values) { int hash = Hashing.smearedHash(key); int tableIndex = hash & mask; int next = tableGet(table, tableIndex);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
public void testImmutableSortedMapCopyOfMap() { Map<Object, Object> original = ImmutableMap.of(new Object(), new Object(), new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original)); } public void testImmutableSortedSetCopyOfIterable() { Set<Object> original = ImmutableSet.of(new Object(), new Object());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
@Override public int count(Object element) { return standardCount(element); } @Override public boolean contains(Object object) { return standardContains(object); } @Override public boolean containsAll(Collection<?> collection) { return standardContainsAll(collection); } @Override public boolean remove(Object object) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
public void testImmutableSortedMapCopyOfMap() { Map<Object, Object> original = ImmutableMap.of(new Object(), new Object(), new Object(), new Object()); assertThrows(ClassCastException.class, () -> ImmutableSortedMap.copyOf(original)); } public void testImmutableSortedSetCopyOfIterable() { Set<Object> original = ImmutableSet.of(new Object(), new Object());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals(Object.class, TypeToken.of(int[].class).getSupertype(Object.class).getType()); assertEquals(int[][].class, TypeToken.of(int[][].class).getSupertype(int[][].class).getType()); assertEquals( Object[].class, TypeToken.of(String[].class).getSupertype(Object[].class).getType()); assertEquals(Object.class, TypeToken.of(String[].class).getSupertype(Object.class).getType()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
SettableFuture<Object> future2 = SettableFuture.create(); // A more organic OOM from a toString implementation Object object = new Object() { @Override public String toString() { return new String(new char[50_000]); } }; List<Object> list = Collections.singletonList(object); for (int i = 0; i < 10; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0)