Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for Hevery (0.16 sec)

  1. guava/src/com/google/common/base/Throwables.java

          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
          advanceSlowPointer = !advanceSlowPointer; // only advance every other iteration
        }
        return throwable;
      }
    
      /**
       * Gets a {@code Throwable} cause chain as a list. The first entry in the list will be {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
          advanceSlowPointer = !advanceSlowPointer; // only advance every other iteration
        }
        return throwable;
      }
    
      /**
       * Gets a {@code Throwable} cause chain as a list. The first entry in the list will be {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

       *
       * <p>The returned multiset isn't threadsafe or serializable, even if {@code unfiltered} is.
       *
       * <p>Many of the filtered multiset's methods, such as {@code size()}, iterate across every
       * element in the underlying multiset and determine which elements satisfy the filter. When a live
       * view is <i>not</i> needed, it may be faster to copy the returned multiset and use the copy.
       *
    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)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsToFalse(Predicates.and(FALSE, NEVER_REACHED));
      }
    
      public void testAnd_equalityBinary() {
        new EqualsTester()
            .addEqualityGroup(Predicates.and(TRUE, NEVER_REACHED), Predicates.and(TRUE, NEVER_REACHED))
            .addEqualityGroup(Predicates.and(NEVER_REACHED, TRUE))
            .addEqualityGroup(Predicates.and(TRUE))
            .addEqualityGroup(Predicates.or(TRUE, NEVER_REACHED))
            .testEquals();
      }
    
    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)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

           *
           * The absent indicator of -1 signed becomes 2^8 - 1 unsigned, which reduces the actual max
           * size to 2^8 - 1. However, due to a load factor < 1 the limit is never approached.
           */
          byte[] hashTable = new byte[tableSize];
          Arrays.fill(hashTable, ABSENT);
    
          int outI = 0;
          entries:
          for (int i = 0; i < n; i++) {
    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)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/collect/DiscreteDomain.java

       * value for which {@link Comparable#compareTo(Object)} never returns a positive value for any
       * input of type {@code C}.
       *
       * <p>The default implementation throws {@code NoSuchElementException}.
       *
       * @return the minimum value of type {@code C}; never null
       * @throws NoSuchElementException if the type has no (practical) minimum value; for example,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

          return Collections2.safeContains(collection, element);
        }
        return Iterators.contains(iterable.iterator(), element);
      }
    
      /**
       * Removes, from an iterable, every element that belongs to the provided collection.
       *
       * <p>This method calls {@link Collection#removeAll} if {@code iterable} is a collection, and
       * {@link Iterators#removeAll} otherwise.
       *
    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)
  10. android/guava/src/com/google/common/base/Suppliers.java

        @SuppressWarnings("UnnecessaryLambda") // Must be a fixed singleton object
        private static final Supplier<Void> SUCCESSFULLY_COMPUTED =
            () -> {
              throw new IllegalStateException(); // Should never get called.
            };
    
        private volatile Supplier<T> delegate;
        // "value" does not need to be volatile; visibility piggy-backs on volatile read of "delegate".
        @CheckForNull private T value;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top