Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,610 for instanceof (0.12 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/graph/EndpointPair.java

        public boolean isOrdered() {
          return true;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj == this) {
            return true;
          }
          if (!(obj instanceof EndpointPair)) {
            return false;
          }
    
          EndpointPair<?> other = (EndpointPair<?>) obj;
          if (isOrdered() != other.isOrdered()) {
            return false;
          }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 8K bytes
    - Click Count (0)
Back to Top