- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 2,278 for toObject (0.07 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapDifference.java
/** * Compares the specified object with this instance for equality. Returns {@code true} if the * given object is also a {@code MapDifference} and the values returned by the {@link * #entriesOnlyOnLeft()}, {@link #entriesOnlyOnRight()}, {@link #entriesInCommon()} and {@link * #entriesDiffering()} of the two instances are equal. */ @Override boolean equals(@Nullable Object object); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
} public void test_complex_document_structure() { Map<String, Object> doc = new HashMap<>(); Map<String, Object> nestedMap = new HashMap<>(); nestedMap.put("nestedKey", "nestedValue"); doc.put("nested", nestedMap); List<Map<String, Object>> listOfMaps = new ArrayList<>(); listOfMaps.add(nestedMap); doc.put("listOfMaps", listOfMaps);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); assertEquals(EMPTY_STATS, cache.stats()); Object one = new Object(); Object two = new Object(); Object three = new Object(); ConcurrentMap<Object, Object> map = cache.asMap(); assertNull(map.put(one, two)); assertSame(two, map.get(one)); map.putAll(ImmutableMap.of(two, three));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
for (LoadingCache<Object, Object> cache : caches()) { Set<Entry<Object, Object>> entries = cache.asMap().entrySet(); assertThrows( NullPointerException.class, () -> entries.toArray((Entry<Object, Object>[]) null)); checkEmpty(cache); } } public void testEntrySet_addNotSupported() { for (LoadingCache<Object, Object> cache : caches()) { assertThrows(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @param target the object whose field is to be modified; {@literal null} if the field is static * @param value the new value for the field of the {@code target} object * @throws IllegalAccessRuntimeException if the field cannot be accessed * @see Field#set(Object, Object) */ public static void set(final Field field, final Object target, final Object value) throws IllegalAccessRuntimeException {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
} @Override public Object put(final Object key, final Object value) { return getProperties().put(key, value); } @Override public void putAll(final Map<? extends Object, ? extends Object> t) { getProperties().putAll(t); } @Override public Object remove(final Object key) { return getProperties().remove(key); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
return delegate.isEmpty(); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; } if (object instanceof ImmutableEnumSet) { object = ((ImmutableEnumSet<?>) object).delegate; } return delegate.equals(object); } @Override boolean isHashCodeFast() { return true; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
} /** * Casts an object to the specified type with type checking * @param <T> the target type * @param type the target class type * @param object the object to cast * @return object cast to type * @throws PACDecodingException if types are incompatible */ public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
* @param sig The method signature */ @GwtIncompatible("ArbitraryInstances") @J2ktIncompatible private Object[] getParametersForSignature( @Nullable Object firstParam, ImmutableList<Class<?>> sig) { Object[] params = new Object[sig.size()]; params[0] = firstParam; if (params.length > 1) { params[1] = ""; if (params.length > 2) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0)