Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 150 for one (0.45 sec)

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

       * @param declaredType2 any other checked exception type declared by the calling method
       * @deprecated Use a combination of two calls to {@link #throwIfInstanceOf} and one call to {@link
       *     #throwIfUnchecked}, which togther provide the same behavior except that they reject {@code
       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // propagateIfInstanceOf
    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/reflect/Types.java

          checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds.");
          if (lowerBounds.length == 1) {
            return supertypeOf(newArrayType(lowerBounds[0]));
          } else {
            Type[] upperBounds = wildcard.getUpperBounds();
            checkArgument(upperBounds.length == 1, "Wildcard should have only one upper bound.");
            return subtypeOf(newArrayType(upperBounds[0]));
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

       * @param declaredType2 any other checked exception type declared by the calling method
       * @deprecated Use a combination of two calls to {@link #throwIfInstanceOf} and one call to {@link
       *     #throwIfUnchecked}, which togther provide the same behavior except that they reject {@code
       *     null}.
       */
      @Deprecated
      @J2ktIncompatible
      @GwtIncompatible // propagateIfInstanceOf
    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)
  4. android/guava/src/com/google/common/collect/Comparators.java

      /**
       * Returns a new comparator which sorts iterables by comparing corresponding elements pairwise
       * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is
       * reached, but not the other, the shorter iterable is considered to be less than the longer one.
       * For example, a lexicographical natural ordering over integers considers {@code [] < [1] < [1,
       * 1] < [1, 2] < [2]}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
        assertMapEquals(ImmutableMap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
            "three",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingMapEntry.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map entry which forwards all its method calls to another map entry. Subclasses should override
     * one or more methods to modify the behavior of the backing map entry as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
        assertEquals("one", map.lowerKey("three"));
        assertEquals("one", map.lowerKey("r"));
        assertEquals("one", map.floorKey("r"));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("three", map.higherKey("r"));
        assertEquals("three", map.ceilingKey("r"));
        assertEquals("one", map.ceilingKey("one"));
        assertEquals(mapEntry("three", 5), map.higherEntry("one"));
        assertEquals(mapEntry("one", 3), map.ceilingEntry("one"));
        assertEquals("one", map.lowerKey("three"));
        assertEquals("one", map.lowerKey("r"));
        assertEquals("one", map.floorKey("r"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

        }
    
        @Override
        @ParametricNullness
        public T get() {
          // Another variant of Double Checked Locking.
          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
    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)
  10. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top