Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for asSubclass (0.06 sec)

  1. android/guava/src/com/google/common/graph/MapIteratorCache.java

          }
    
          @Override
          public boolean contains(@Nullable Object key) {
            return containsKey(key);
          }
        };
      }
    
      // Internal methods (package-visible, but treat as only subclass-visible)
    
      @Nullable V getIfCached(@Nullable Object key) {
        Entry<K, V> entry = cacheEntry; // store local reference for thread-safety
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * thought of as overkill; however, it's difficult to determine which proper subset of this massive
     * set would be sufficient to expose any possible bug. Brute force is simpler.
     *
     * <p>To use this class the concrete subclass must implement the {@link
     * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator
     * without changing its state, so the tester needs a steady supply of fresh Iterators.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapEntry.java

        /*
         * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don't
         * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific
         * subclass below. That's because the Entry might be non-terminal in the key bucket but terminal
         * in the value bucket (or vice versa).
         */
        private final transient @Nullable ImmutableMapEntry<K, V> nextInKeyBucket;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 21:42:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * {@code NavigableMap}. In many cases, you may wish to override {@link
       * ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof.
       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
       * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * {@code NavigableMap}. In many cases, you may wish to override {@link
       * ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof.
       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
       * NavigableMap#lowerEntry}. If a more efficient means of iteration is available, you may wish to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     * href="https://github.com/lukas-krecan/future-converter">Future Converter</a>.)
     *
     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

    import com.google.common.annotations.VisibleForTesting;
    import java.util.Arrays;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code ObjectCountLinkedHashMap} is a subclass of {@code ObjectCountHashMap} with insertion
     * iteration order, and uses arrays to store key objects and count values. Comparing to using a
     * traditional {@code LinkedHashMap} implementation which stores keys and count values as map
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * of {@link NavigableSet}, notably including {@link NavigableSet#descendingIterator}.
       *
       * <p>In many cases, you may wish to override {@link ForwardingNavigableSet#descendingSet} to
       * forward to this implementation or a subclass thereof.
       *
       * @since 12.0
       */
      protected class StandardDescendingSet extends Sets.DescendingSet<E> {
        /** Constructor for use by subclasses. */
        public StandardDescendingSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of {@link BaseGraph}.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertEquals(statusCode, exception.getStatusCode());
            assertNull(exception.getMessage());
        }
    
        public void test_inheritance_fromFessSystemException() {
            // Test that WebApiException is a subclass of FessSystemException
            WebApiException exception = new WebApiException(500, "Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top