Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 590 for Boolean (0.89 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

            new ListenableFuture<String>() {
              @Override
              public boolean cancel(boolean interrupt) {
                return false;
              }
    
              @Override
              public boolean isDone() {
                return true;
              }
    
              @Override
              public boolean isCancelled() {
                return true; // BAD!!
              }
    
              @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      public @Nullable E pollLast() {
        return delegate.pollLast();
      }
    
      @Override
      public boolean remove(Object object) {
        return delegate.remove(checkValid(object));
      }
    
      @Override
      public boolean removeAll(Collection<?> c) {
        return delegate.removeAll(c);
      }
    
      @Override
      public boolean retainAll(Collection<?> c) {
        return delegate.retainAll(c);
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/JdkPattern.java

        JdkMatcher(Matcher matcher) {
          this.matcher = Preconditions.checkNotNull(matcher);
        }
    
        @Override
        public boolean matches() {
          return matcher.matches();
        }
    
        @Override
        public boolean find() {
          return matcher.find();
        }
    
        @Override
        public boolean find(int index) {
          return matcher.find(index);
        }
    
        @Override
        public String replaceAll(String replacement) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EmptyContiguousSet.java

      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
        return this;
      }
    
      @Override
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
        return this;
      }
    
      @Override
      ContiguousSet<C> tailSetImpl(C fromElement, boolean fromInclusive) {
        return this;
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 28 18:35:00 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         */
        assertEquals(RESULT, getUninterruptibly(future, -1, SECONDS));
      }
    
      private static FutureTask<Boolean> untimedInterruptReporter(
          final Future<?> future, final boolean allowInterruption) {
        return new FutureTask<>(
            new Callable<Boolean>() {
              @Override
              public Boolean call() throws Exception {
                Object actual;
                if (allowInterruption) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingCollection.java

      public boolean add(@ParametricNullness E element) {
        return delegate().add(element);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@CheckForNull Object object) {
        return delegate().remove(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        return delegate().containsAll(collection);
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingCollection.java

      public boolean add(@ParametricNullness E element) {
        return delegate().add(element);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean remove(@CheckForNull Object object) {
        return delegate().remove(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        return delegate().containsAll(collection);
      }
    
      @CanIgnoreReturnValue
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Defaults.java

       * false} for {@code boolean} and {@code '\0'} for {@code char}. For non-primitive types and
       * {@code void}, {@code null} is returned.
       */
      @SuppressWarnings("unchecked")
      @CheckForNull
      public static <T> T defaultValue(Class<T> type) {
        checkNotNull(type);
        if (type.isPrimitive()) {
          if (type == boolean.class) {
            return (T) Boolean.FALSE;
          } else if (type == char.class) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/SettableFuture.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean set(@ParametricNullness V value) {
        return super.set(value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setException(Throwable throwable) {
        return super.setException(throwable);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setFuture(ListenableFuture<? extends V> future) {
        return super.setFuture(future);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        }
      }
    
      private static final class RuntimeExceptionThrowingFuture<V> implements Future<V> {
        final CountDownLatch allowGetToComplete = new CountDownLatch(1);
    
        @Override
        public boolean cancel(boolean mayInterruptIfRunning) {
          throw new AssertionFailedError();
        }
    
        @Override
        public V get() throws InterruptedException {
          /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top