Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for Hevery (0.24 sec)

  1. android/guava/src/com/google/common/collect/Range.java

       *   <li>{@code (3..6]} does not enclose {@code [3..6]}
       *   <li>{@code [4..5]} does not enclose {@code (3..6)} (even though it contains every value
       *       contained by the latter range)
       *   <li>{@code [3..6]} does not enclose {@code (1..1]} (even though it contains every value
       *       contained by the latter range)
       * </ul>
       *
       * <p>Note that if {@code a.encloses(b)}, then {@code b.contains(v)} implies {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graphs.java

      public static <N> ImmutableGraph<N> transitiveClosure(Graph<N> graph) {
        ImmutableGraph.Builder<N> transitiveClosure =
            GraphBuilder.from(graph).allowsSelfLoops(true).<N>immutable();
        // Every node is, at a minimum, reachable from itself. Since the resulting transitive closure
        // will have no isolated nodes, we can skip adding nodes explicitly and let putEdge() do it.
    
        if (graph.isDirected()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /*
       * We don't permit nulls, but we wrap every comparator with nullsFirst().
       * Why? We want for queries like containsKey(null) to return false, but the
       * GWT SortedMap implementation that we delegate to throws
       * NullPointerException if the comparator does. Since our construction
       * methods ensure that null is never present in the map, it's OK for the
       * comparator to look for it wherever it wants.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

          public void perform(List<Integer> list) {}
        };
      }
    
      /** A list that mutates itself after every call to each of its {@link List} methods. */
      interface ConcurrentlyMutatedList<E> extends List<E> {
        /**
         * The elements of a {@link ConcurrentlyMutatedList} are added and removed over time. This
         * method returns every state that the list has passed through at some point.
         */
        Set<List<E>> getAllStates();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  5. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

          while (iterator.hasNext()) {
            if (element.equals(iterator.next())) {
              return true;
            }
          }
        }
        return false;
      }
    
      /**
       * Traverses an iterator and removes every element that belongs to the provided collection. The
       * iterator will be left exhausted: its {@code hasNext()} method will return {@code false}.
       *
       * @param removeFrom the iterator to (potentially) remove elements from
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  8. 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 Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

     * than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code
     * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for
     * every element added, the garbage collector will have to traverse {@code 1.5} references on
     * average, in the marking phase, not {@code 5.0} as in {@code java.util.HashSet}.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedLongs.java

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