Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 451 for true (0.15 sec)

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

        testRotate(new boolean[] {true, false, true}, -4, new boolean[] {false, true, true});
        testRotate(new boolean[] {true, false, true}, -3, new boolean[] {true, false, true});
        testRotate(new boolean[] {true, false, true}, -2, new boolean[] {true, true, false});
        testRotate(new boolean[] {true, false, true}, -1, new boolean[] {false, true, true});
    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, false, true}, -4, new boolean[] {false, true, true});
        testRotate(new boolean[] {true, false, true}, -3, new boolean[] {true, false, true});
        testRotate(new boolean[] {true, false, true}, -2, new boolean[] {true, true, false});
        testRotate(new boolean[] {true, false, true}, -1, new boolean[] {false, true, true});
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public Enum<?> implicitlyBoundedEnum(Enum<?> e) {
          return isSubtype(e);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public Enum<?> explicitlyBoundedEnumIsSubtypeOfImplicitlyBoundedEnum(
            Enum<? extends Enum<?>> obj) {
          return isSubtype(obj);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsToFalse(Predicates.and(TRUE, FALSE, NEVER_REACHED));
      }
    
      public void testAnd_equalityTernary() {
        new EqualsTester()
            .addEqualityGroup(
                Predicates.and(TRUE, isOdd(), NEVER_REACHED),
                Predicates.and(TRUE, isOdd(), NEVER_REACHED))
            .addEqualityGroup(Predicates.and(isOdd(), NEVER_REACHED, TRUE))
            .addEqualityGroup(Predicates.and(TRUE))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      }
    
      public void testSetFutureThenInterrupt() throws Exception {
        assertThat(future.setFuture(delegate)).isTrue();
        assertThat(future.cancel(true /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, true);
        assertCancelled(delegate, true);
      }
    
      public void testSetFutureDelegateAlreadySuccessful() throws Exception {
        delegate.set(5);
        assertThat(future.setFuture(delegate)).isTrue();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

              } catch (InterruptedException interrupt) {
                interrupted = true;
                remainingNanos = remainingNanos(startTime, timeoutNanos);
              }
            }
          }
    
          boolean satisfied = false;
          try {
            while (true) {
              try {
                if (guard.isSatisfied()) {
                  satisfied = true;
                } else {
                  final long remainingNanos;
    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-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        }
      }
    
      //     /**
      //      * Spin-waits up to LONG_DELAY_MS until flag becomes true.
      //      */
      //     public void await(AtomicBoolean flag) {
      //         await(flag, LONG_DELAY_MS);
      //     }
    
      //     /**
      //      * Spin-waits up to the specified timeout until flag becomes true.
      //      */
      //     public void await(AtomicBoolean flag, long timeoutMillis) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

          int retainCount = occurrencesToRetain.count(entry.getElement());
          if (retainCount == 0) {
            entryIterator.remove();
            changed = true;
          } else if (retainCount < entry.getCount()) {
            multisetToModify.setCount(entry.getElement(), retainCount);
            changed = true;
          }
        }
        return changed;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 41.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Comparators.java

              return false;
            }
            prev = next;
          }
        }
        return true;
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is <i>strictly</i>
       * greater than the element that preceded it, according to the specified comparator. Note that
       * this is always true when the iterable has fewer than two elements.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashBiMap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap} </a>.
     *
     * @author Louis Wasserman
     * @author Mike Bostock
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends IteratorBasedAbstractMap<K, V> implements BiMap<K, V>, Serializable {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
Back to top