Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 540 for Boolean (0.26 sec)

  1. guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(new boolean[] {true}, 1, new boolean[] {true});
        testRotate(new boolean[] {true}, 2, new boolean[] {true});
    
        testRotate(new boolean[] {true, false}, -3, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -1, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -2, new boolean[] {true, false});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(new boolean[] {true}, 1, new boolean[] {true});
        testRotate(new boolean[] {true}, 2, new boolean[] {true});
    
        testRotate(new boolean[] {true, false}, -3, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -1, new boolean[] {false, true});
        testRotate(new boolean[] {true, false}, -2, new boolean[] {true, false});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression) {
        if (!expression) {
          throw new IllegalArgumentException();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. android/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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. 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) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

        /**
         * Evaluates this guard's boolean condition. This method is always called with the associated
         * monitor already occupied. Implementations of this method must depend only on state protected
         * by the associated monitor, and must not modify that state.
         */
        public abstract boolean isSatisfied();
      }
    
      /** Whether this monitor is fair. */
      private final boolean fair;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            }
          }
        }
        return false;
      }
    
      private boolean isExpired(Timestamped<V> stamped) {
        if ((expireAfterAccess == UNSET_INT) && (expireAfterWrite == UNSET_INT)) {
          return false;
        }
    
        boolean expireWrite = (stamped.getWriteTimestamp() + expireAfterWrite <= currentTimeNanos());
        boolean expireAccess = (stamped.getAccessTimestamp() + expireAfterAccess <= currentTimeNanos());
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TableCollectionTest.java

        }
      }
    
      private abstract static class MapTests extends MapInterfaceTest<String, Integer> {
    
        MapTests(
            boolean allowsNullValues,
            boolean supportsPut,
            boolean supportsRemove,
            boolean supportsClear,
            boolean supportsIteratorRemove) {
          super(
              false,
              allowsNullValues,
              supportsPut,
              supportsRemove,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

      public boolean contains(@Nullable Object object) {
        return object != null && super.contains(object);
      }
    
      public final boolean add(E e) {
        throw new UnsupportedOperationException();
      }
    
      public final boolean remove(@Nullable Object object) {
        throw new UnsupportedOperationException();
      }
    
      public final boolean addAll(Collection<? extends E> newElements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        public String toString() {
          return "IncompatibleKeyType";
        }
      }
    
      protected final boolean supportsPut;
      protected final boolean supportsRemove;
      protected final boolean supportsClear;
      protected final boolean allowsNullKeys;
      protected final boolean allowsNullValues;
      protected final boolean supportsIteratorRemove;
    
      /**
       * Creates a new, empty instance of the class under test.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
Back to top