Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for true (0.18 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 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-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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  4. 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)
  5. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  6. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

            ? ((Collection<?>) iterable).size()
            : Iterators.size(iterable.iterator());
      }
    
      /**
       * Returns {@code true} if {@code iterable} contains any element {@code o} for which {@code
       * Objects.equals(o, element)} would return {@code true}. Otherwise returns {@code false}, even in
       * cases where {@link Collection#contains} might throw {@link NullPointerException} or {@link
       * ClassCastException}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

        assertThat(map.entrySet())
            .containsExactly(Maps.immutableEntry("one", 1), Maps.immutableEntry("three", 3))
            .inOrder();
      }
    
      public void testSubMapExclusiveInclusive() {
        Map<String, Integer> map =
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).subMap("one", false, "two", true);
        assertThat(map.entrySet())
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMap.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A hash-based implementation of {@link ImmutableMap}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    final class RegularImmutableMap<K, V> extends ImmutableMap<K, V> {
      private static final byte ABSENT = -1;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns {@code true} if the collection {@code self} contains all of the elements in the
       * collection {@code c}.
       *
       * <p>This method iterates over the specified collection {@code c}, checking each element returned
       * by the iterator in turn to see if it is contained in the specified collection {@code self}. If
       * all elements are so contained, {@code true} is returned, otherwise {@code false}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top