Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for Every (0.16 sec)

  1. android/guava/src/com/google/common/primitives/Shorts.java

      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code short} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeBasedTable.java

          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
        @CheckForNull transient SortedMap<C, V> wholeRow;
    
        // If the row was previously empty, we check if there's a new row here every time we're queried.
        void updateWholeRowField() {
          if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) {
            wholeRow = (SortedMap<C, V>) backingMap.get(rowKey);
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Converter.java

     */
    public abstract class Converter<A, B> implements Function<A, B> {
      private final boolean handleNullAutomatically;
    
      // We lazily cache the reverse view to avoid allocating on every call to reverse().
      @LazyInit @RetainedWith @CheckForNull private transient Converter<B, A> reverse;
    
      /** Constructor for use by subclasses. */
      protected Converter() {
        this(true);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Doubles.java

       * Math#min(double, double)}.
       *
       * @param array a <i>nonempty</i> array of {@code double} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      @GwtIncompatible(
          "Available in GWT! Annotation is to avoid conflict with GWT specialization of base class.")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      private void assertEntrySetNotContainsString(Set<Entry<K, V>> entrySet) {
        // Very unlikely that a buggy collection would ever return true. It might accidentally throw.
        assertFalse(entrySet.contains("foo"));
      }
    
      /**
       * Override this to check invariants which should hold true for a particular implementation, but
       * which are not generally applicable to every instance of Map.
       *
    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)
  6. guava-tests/test/com/google/common/math/DoubleMathTest.java

          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToLong(double, RoundingMode)
      public void testRoundExactIntegralDoubleToLong() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          // every mode except UNNECESSARY
          BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY);
          boolean isInBounds =
              expected.compareTo(MAX_LONG_AS_BIG_DECIMAL) <= 0
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                  // this has 2 benefits
                  // 1. for long chains of futures strung together with setFuture we consume less stack
                  // 2. we avoid allocating Cancellation objects at every level of the cancellation
                  //    chain
                  // We can only do this for TrustedFuture, because TrustedFuture.cancel is final and
                  // does nothing but delegate to this method.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

       * character, until this returns {@code false} or the end is reached.
       *
       * @param sequence the character sequence to examine, possibly empty
       * @return {@code true} if this matcher matches every character in the sequence, including when
       *     the sequence is empty
       */
      public boolean matchesAllOf(CharSequence sequence) {
        for (int i = sequence.length() - 1; i >= 0; i--) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       */
      public static <T extends @Nullable Object> Predicate<T> in(Collection<? extends T> target) {
        return new InPredicate<>(target);
      }
    
      /**
       * Returns the composition of a function and a predicate. For every {@code x}, the generated
       * predicate returns {@code predicate(function(x))}.
       *
       * @return the composition of the provided function and predicate
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code long} values
       * @return the value present in {@code array} that is less than or equal to every other value in
       *     the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
      public static long min(long... array) {
        checkArgument(array.length > 0);
        long min = array[0];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
Back to top