Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for Every (0.14 sec)

  1. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

            throw e;
          }
        };
      }
    
      /** Returns a {@link CacheLoader} that returns the key for every request. */
      static <T> IdentityLoader<T> identityLoader() {
        return new IdentityLoader<T>();
      }
    
      /**
       * Returns a {@code new Object()} for every request, and increments a counter for every request.
       * The count is accessible via {@link #getCount}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
        testConstructors(c, Visibility.PUBLIC);
      }
    
      /**
       * Runs {@link #testMethod} on every static method of class {@code c} that has at least {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  3. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/primitives/SignedBytes.java

      }
    
      /**
       * Returns the least value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code byte} 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 byte min(byte... array) {
        checkArgument(array.length > 0);
        byte min = array[0];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 7.5K 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/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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/PrimitiveSink.java

       * for cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which
       * is faster, produces the same output across Java releases, and processes every {@code char} in
       * the input, even if some are invalid.
       */
      @CanIgnoreReturnValue
      PrimitiveSink putString(CharSequence charSequence, Charset charset);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/MapIteratorCache.java

       * the entry was returned by the iterator, except through the setValue operation on the map entry"
       * As such, this field must be cleared before every map mutation.
       *
       * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread
       * while writing to it in another. All it does is help with _reading_ from multiple threads
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  10. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 20 03:33:06 GMT 2024
    - 50.6K bytes
    - Viewed (0)
Back to top