Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,072 for One (0.12 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           *   setFuture called on it: Neither of those can happen until we've finished processing all
           *   the completed inputs. And we're still processing at least one input, the one that
           *   triggered handleException.)
           *
           * TODO(cpovirk): Think about whether we could/should use Verify to check the return value of
           * addCausalChain.
           */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multiset.java

       * element, and the overall size of the collection, by one.
       *
       * <p>To both add the element and obtain the previous count of that element, use {@link
       * #add(Object, int) add}{@code (element, 1)} instead.
       *
       * @param element the element to add one occurrence of; may be null only if explicitly allowed by
       *     the implementation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                            Sets.newHashSet("c", elements[0], "d"));
                      }
                    })
                .named("intersection with overlap of one")
                .withFeatures(CollectionSize.ONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .build();
    
        assertThat(RANGE_SET_ONE.union(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testIntersection() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(2, 3))
                .add(Range.open(6, 7))
                .add(Range.singleton(8))
                .build();
    
        assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/InetAddressesTest.java

            BigInteger.ONE.shiftLeft(128).subtract(BigInteger.ONE));
      }
    
      public void testFromIpv4BigIntegerInputTooLarge() {
        IllegalArgumentException expected =
            assertThrows(
                IllegalArgumentException.class,
                () ->
                    InetAddresses.fromIPv4BigInteger(BigInteger.ONE.shiftLeft(32).add(BigInteger.ONE)));
        assertEquals(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  7. maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @param severity The severity of the problem, must not be {@code null}.
         * @param message The detail message of the problem, may be {@code null}.
         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SortedSetNavigationTester.java

        try {
          sortedSet.last();
          fail();
        } catch (NoSuchElementException e) {
        }
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetFirst() {
        assertEquals(a, sortedSet.first());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetLast() {
        assertEquals(a, sortedSet.last());
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testFirst() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.HashMultiset;
    import com.google.common.collect.Multiset;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

        assertNull(navigableSet.pollLast());
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ONE)
      public void testSingletonSetPollFirst() {
        assertEquals(a, navigableSet.pollFirst());
        assertTrue(navigableSet.isEmpty());
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonSetNearby() {
        assertNull(navigableSet.lower(e0()));
        assertEquals(a, navigableSet.floor(e0()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top