Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for Boolean (0.34 sec)

  1. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      public NavigableSet<E> subSet(
          @ParametricNullness E fromElement,
          boolean fromInclusive,
          @ParametricNullness E toElement,
          boolean toInclusive) {
        return delegate().subSet(fromElement, fromInclusive, toElement, toInclusive);
      }
    
      /**
       * A sensible definition of {@link #subSet(Object, boolean, Object, boolean)} in terms of the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        taskDone = false;
        Callable<Boolean> task =
            new Callable<Boolean>() {
              @Override
              public Boolean call() {
                taskDone = true;
                return taskDone;
              }
            };
        List<Future<Boolean>> futureList =
            executor.invokeAll(ImmutableList.of(task), 10, TimeUnit.MILLISECONDS);
        Future<Boolean> future = futureList.get(0);
        assertFalse(taskDone);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        taskDone = false;
        Callable<Boolean> task =
            new Callable<Boolean>() {
              @Override
              public Boolean call() {
                taskDone = true;
                return taskDone;
              }
            };
        List<Future<Boolean>> futureList =
            executor.invokeAll(ImmutableList.of(task), 10, TimeUnit.MILLISECONDS);
        Future<Boolean> future = futureList.get(0);
        assertFalse(taskDone);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
        return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method.
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableEnumSet.java

        delegate.forEach(action);
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        return delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (collection instanceof ImmutableEnumSet<?>) {
          collection = ((ImmutableEnumSet<?>) collection).delegate;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      public class TestGuard extends Monitor.Guard {
        private volatile boolean satisfied;
    
        public TestGuard(boolean satisfied) {
          super(MonitorTestCase.this.monitor);
          this.satisfied = satisfied;
        }
    
        @Override
        public boolean isSatisfied() {
          return this.satisfied;
        }
    
        public void setSatisfied(boolean satisfied) {
          this.satisfied = satisfied;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Callables.java

        return () -> {
          Thread currentThread = Thread.currentThread();
          String oldName = currentThread.getName();
          boolean restoreName = trySetName(nameSupplier.get(), currentThread);
          try {
            return callable.call();
          } finally {
            if (restoreName) {
              boolean unused = trySetName(oldName, currentThread);
            }
          }
        };
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. android/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)
  10. 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)
Back to top