- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,610 for instanceof (0.07 seconds)
-
guava/src/com/google/common/collect/ImmutableMap.java
if ((map instanceof ImmutableMap) && !(map instanceof SortedMap)) { @SuppressWarnings("unchecked") // safe since map is not writable ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map; if (!kvMap.isPartialView()) { return kvMap; } } else if (map instanceof EnumMap) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
} @Override public boolean containsKey(@Nullable Object key) { return get(key) != null; } @Override public @Nullable Range<C> get(@Nullable Object key) { if (key instanceof Cut) { try { @SuppressWarnings("unchecked") // we catch CCEs Cut<C> cut = (Cut<C>) key; if (!upperBoundWindow.contains(cut)) { return null; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 32.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* values} if it is a Set and therefore probably already deduplicated. */ int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { if (values instanceof Collection<?>) { Collection<?> collection = (Collection<?>) values; return max(defaultExpectedValues, collection.size()); } else { return defaultExpectedValues; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java
throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; }); getUserBean().ifPresent(u -> { if (u.getFessUser() instanceof User && entity.getName().equals(u.getUserId())) { throwValidationErrorApi(messages -> messages.addErrorsCouldNotDeleteLoggedInUser(GLOBAL)); } }); try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/CaseFormat.java
} @Override protected String doBackward(String s) { return targetFormat.to(sourceFormat, s); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof StringConverter) { StringConverter that = (StringConverter) obj; return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat); } return false; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Dec 03 18:46:33 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ComparatorsTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Apr 12 15:07:59 GMT 2025 - 6.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* references, which is particularly hard to quantify. */ /** Creates an empty {@code CompactHashMap} instance. */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactHashMap<K, V> create() { return new CompactHashMap<>(); } /** * Creates a {@code CompactHashMap} instance, with a high enough "initial capacity" that it * <i>should</i> hold {@code expectedSize} elements without growth.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
checkArgument(type.isEnum()); this.enumConstants = type.getEnumConstants(); this.counts = new int[enumConstants.length]; } private boolean isActuallyE(@Nullable Object o) { if (o instanceof Enum) { Enum<?> e = (Enum<?>) o; int index = e.ordinal(); return index < enumConstants.length && enumConstants[index] == e; } return false; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
value.startsWith("{labels.")); } } } /** * Test instance creation */ @Test public void test_instanceCreation() { FessLabels labels = new FessLabels(); assertNotNull(labels); assertTrue(labels instanceof org.lastaflute.core.message.UserMessages); } /** * Test reflection access to constants */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0)