Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 646 for supe (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeUncheckedException sue = new SomeUncheckedException();
        IllegalArgumentException iae = new IllegalArgumentException(sue);
        RuntimeException re = new RuntimeException(iae);
        IllegalStateException ex = new IllegalStateException(re);
    
        assertThat(getCausalChain(ex)).containsExactly(ex, re, iae, sue).inOrder();
        assertSame(sue, Iterables.getOnlyElement(getCausalChain(sue)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

              ListenableFuture<V> listenableDelegate, ScheduledFuture<?> scheduledDelegate) {
            super(listenableDelegate);
            this.scheduledDelegate = scheduledDelegate;
          }
    
          @Override
          public boolean cancel(boolean mayInterruptIfRunning) {
            boolean cancelled = super.cancel(mayInterruptIfRunning);
            if (cancelled) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      private static void assertEvalsLikeOdd(Predicate<? super @Nullable Integer> predicate) {
        assertEvalsLike(isOdd(), predicate);
      }
    
      private static void assertEvalsLike(
          Predicate<? super @Nullable Integer> expected, Predicate<? super @Nullable Integer> actual) {
        assertEvalsLike(expected, actual, 0);
        assertEvalsLike(expected, actual, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableMap.java

           */
          if (key.equals(candidateKey)) {
            return entry.getValue();
          }
        }
        return null;
      }
    
      @Override
      public void forEach(BiConsumer<? super K, ? super V> action) {
        checkNotNull(action);
        for (Entry<K, V> entry : entries) {
          action.accept(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          this.task = task;
        }
    
        @Override
        public void run() {}
    
        private void setOwner(Thread thread) {
          super.setExclusiveOwnerThread(thread);
        }
    
        @VisibleForTesting
        @CheckForNull
        Thread getOwner() {
          return super.getExclusiveOwnerThread();
        }
    
        @Override
        public String toString() {
          return task.toString();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TopKSelector.java

       */
      public static <T extends @Nullable Object> TopKSelector<T> greatest(
          int k, Comparator<? super T> comparator) {
        return new TopKSelector<>(Ordering.from(comparator).reverse(), k);
      }
    
      private final int k;
      private final Comparator<? super T> comparator;
    
      /*
       * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/ThrowablesTest.java

        SomeUncheckedException sue = new SomeUncheckedException();
        IllegalArgumentException iae = new IllegalArgumentException(sue);
        RuntimeException re = new RuntimeException(iae);
        IllegalStateException ex = new IllegalStateException(re);
    
        assertThat(getCausalChain(ex)).containsExactly(ex, re, iae, sue).inOrder();
        assertSame(sue, Iterables.getOnlyElement(getCausalChain(sue)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/Invokable.java

        return specialized;
      }
    
      @SuppressWarnings("unchecked") // The declaring class is T's raw class, or one of its supertypes.
      @Override
      public final Class<? super T> getDeclaringClass() {
        return (Class<? super T>) member.getDeclaringClass();
      }
    
      /** Returns the type of {@code T}. */
      // Overridden in TypeToken#method() and TypeToken#constructor()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       defined this way, but enough to live with.
     *   <li>If you override {@link #setUp} or {@link #tearDown}, make sure to invoke {@code
     *       super.setUp} and {@code super.tearDown} within them. These methods are used to clear and
     *       check for thread assertion failures.
     *   <li>All delays and timeouts must use one of the constants {@code SHORT_DELAY_MS}, {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

        private static final Map<Class<?>, Boolean> PRIMITIVE_BY_CLASS = new WeakHashMap<>();
    
        public StringSearchModelInterpolator() {}
    
        public StringSearchModelInterpolator(PathTranslator pathTranslator) {
            super(pathTranslator);
        }
    
        public Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
                throws ModelInterpolationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top