- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,610 for instanceof (0.14 seconds)
-
android/guava/src/com/google/common/primitives/Shorts.java
// Overridden to prevent a ton of boxing return (target instanceof Short) && Shorts.indexOf(array, (Short) target, start, end) != -1; } @Override public int indexOf(@Nullable Object target) { // Overridden to prevent a ton of boxing if (target instanceof Short) { int i = Shorts.indexOf(array, (Short) target, start, end); if (i >= 0) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractTable.java
} @WeakOuter private final class CellSet extends AbstractSet<Cell<R, C, V>> { @Override public boolean contains(@Nullable Object o) { if (o instanceof Cell) { Cell<?, ?, ?> cell = (Cell<?, ?, ?>) o; Map<C, V> row = safeGet(rowMap(), cell.getRowKey()); return row != null && Collections2.safeContains(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
*/ static <T> @Nullable ObjectCountHashMap<T> tryGetMap(Iterable<T> multiset) { if (multiset instanceof RegularImmutableMultiset) { return ((RegularImmutableMultiset<T>) multiset).contents; } else if (multiset instanceof AbstractMapBasedMultiset) { return ((AbstractMapBasedMultiset<T>) multiset).backingMap; } else { return null; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
public void test_instanceOfFessSystemException() { // Test that ContainerNotAvailableException is an instance of FessSystemException ContainerNotAvailableException exception = new ContainerNotAvailableException("test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); } @Test public void test_serialVersionUID() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CombinedFuture.java
if (error instanceof ExecutionException) { /* * Cast to ExecutionException to satisfy our nullness checker, which (unsoundly but * *usually* safely) assumes that getCause() returns non-null on an ExecutionException. */ CombinedFuture.this.setException(((ExecutionException) error).getCause()); } else if (error instanceof CancellationException) { cancel(false);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
Collection<E> collection) { if (collection instanceof NavigableSet) { return unmodifiableNavigableSet((NavigableSet<E>) collection); } else { return unmodifiableSortedSet((SortedSet<E>) collection); } } @Override Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) { if (collection instanceof NavigableSet) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
* * @author Ben Yu */ abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass(); checkArgument(superclass instanceof ParameterizedType, "%s isn't parameterized", superclass); return ((ParameterizedType) superclass).getActualTypeArguments()[0]; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
ImmutableEntry<E> bucketHead = hashTable[bucket]; ImmutableEntry<E> newEntry; if (bucketHead == null) { boolean canReuseEntry = entry instanceof ImmutableEntry && !(entry instanceof NonTerminalEntry); newEntry = canReuseEntry ? (ImmutableEntry<E>) entry : new ImmutableEntry<E>(element, count); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
// implementation, it _may_ require iteration over the entire collection (e.g., a // FilteredCollection), which we want to avoid. if (values instanceof List || values instanceof ImmutableCollection) { return uniqueIndex( values.iterator(), keyFunction, ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/EndpointPair.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 8K bytes - Click Count (0)