- Sort Score
- Result 10 results
- Languages All
Results 831 - 840 of 2,704 for object1 (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
SettableFuture<Object> async = SettableFuture.create(); SettableFuture<Object> inner = SettableFuture.create(); async.setFuture(inner); async.cancel(false); assertTrue(inner.isCancelled()); assertFalse(inner.wasInterrupted()); assertThrows(CancellationException.class, () -> inner.get()); } public void testCancel_beforeSet() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
} public void testConstant() { Function<@Nullable Object, Object> f = Functions.<Object>constant("correct"); assertEquals("correct", f.apply(new Object())); assertEquals("correct", f.apply(null)); Function<@Nullable Object, @Nullable String> g = Functions.constant(null); assertEquals(null, g.apply(2)); assertEquals(null, g.apply(null));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/ParamMap.java
@Override public boolean containsKey(final Object key) { if (parent.containsKey(key)) { return true; } return parent.containsKey(toCamelCase(key)); } @Override public boolean containsValue(final Object value) { return parent.containsValue(value); } @Override public V get(final Object key) { final V value = parent.get(key);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
/** * Returns {@literal true} if the object is an array. Returns {@literal false} if the object is {@literal null}. * * @param object * the object * @return {@literal true} if the object is an array; {@literal false} if the object is {@literal null} */ public static boolean isArray(final Object object) { return object != null && object.getClass().isArray(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
@SuppressWarnings("ShortCircuitBoolean") abstract class AbstractTransformFuture< I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object> extends FluentFuture.TrustedFuture<O> implements Runnable { static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> createAsync( ListenableFuture<I> input, AsyncFunction<? super I, ? extends O> function,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/resiliency/resiliency-verify-script.sh
# Count should match the initial count of 10 if [ "${OBJ_COUNT_AFTER_STOP}" -ne 10 ]; then echo "Expected 10 objects; received ${OBJ_COUNT_AFTER_STOP}" exit 1 fi ./mc ready "${ALIAS_NAME}" --json OUT=$(./mc cp --quiet "${SRC_DIR}"/* "${ALIAS_NAME}"/"${BUCKET}"/new-data/) RET=${?} if [ ${RET} -ne 0 ]; then echo "Error copying objects to new prefix: ${OUT}" exit 1 fi
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapKeySet.java
} @Override public boolean contains(@Nullable Object object) { return map.containsKey(object); } @Override K get(int index) { return map.entrySet().asList().get(index).getKey(); } @Override boolean isPartialView() { return true; } @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return new KeySetSerializedForm<K>(map); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
// Test with supported document type Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/pdf"); assertTrue(thumbnailGenerator.isTarget(docMap)); } public void test_isTarget_withUnsupportedMimeType() { // Test with unsupported document type Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", "application/unknown");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java
/** The raw data. */ protected Object rawData = null; /** The serializer. */ protected Function<Object, byte[]> serializer; /** * Creates a new ResultData instance. */ public ResultData() { super(); } /** * Set the raw data. * @param rawData the raw data object to set */ public void setRawData(final Object rawData) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FilteredMultimapTest.java
@NullUnmarked public class FilteredMultimapTest extends TestCase { private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE = entry -> !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556); protected Multimap<String, Integer> create() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("foo", 55556); unfiltered.put("badkey", 1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 3.1K bytes - Viewed (0)