Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 1,118 for onex (0.02 seconds)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two").iterator();
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator));
        assertThat(expected).hasMessageThat().isEqualTo("expected one element but was: <one, two>");
      }
    
      public void testGetOnlyElement_noDefault_fiveElements() {
        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Multimap.java

       */
      boolean isEmpty();
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the key {@code
       * key}.
       */
      boolean containsKey(@CompatibleWith("K") @Nullable Object key);
    
      /**
       * Returns {@code true} if this multimap contains at least one key-value pair with the value
       * {@code value}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * list with one before {@code index}. Under these circumstances it returns a pair of elements as
       * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and
       * is now at some position before {@code index}. The second element is the one that was swapped
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        sizesToTest.retainAll(features);
        features.removeAll(sizesToTest);
    
        addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
        if (sizesToTest.isEmpty()) {
          throw new IllegalStateException(
              name
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/MutableGraph.java

       *
       * @return {@code true} if the graph was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean addNode(N node);
    
      /**
       * Adds an edge connecting {@code nodeU} to {@code nodeV} if one is not already present.
       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

     * </ul>
     *
     * <p>The set of supported keys will grow as {@code CacheBuilder} evolves, but existing keys will
     * never be removed.
     *
     * <p>Durations are represented by an integer, followed by one of "d", "h", "m", or "s",
     * representing days, hours, minutes, or seconds respectively. (There is currently no syntax to
     * request expiration in milliseconds, microseconds, or nanoseconds.)
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/cache/CacheBuilderSpec.java

     * </ul>
     *
     * <p>The set of supported keys will grow as {@code CacheBuilder} evolves, but existing keys will
     * never be removed.
     *
     * <p>Durations are represented by an integer, followed by one of "d", "h", "m", or "s",
     * representing days, hours, minutes, or seconds respectively. (There is currently no syntax to
     * request expiration in milliseconds, microseconds, or nanoseconds.)
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return atomic == null ? 0L : atomic.get();
      }
    
      /**
       * Increments by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long incrementAndGet(K key) {
        return addAndGet(key, 1);
      }
    
      /**
       * Decrements by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 13:21:19 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top