Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 360 for docs (0.14 sec)

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

    @DoNotMock("Use ImmutableRangeMap or TreeRangeMap")
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface RangeMap<K extends Comparable, V> {
      /*
       * TODO(cpovirk): These docs sometimes say "map" and sometimes say "range map." Pick one, or at
       * least decide on a policy for when to use which.
       */
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/IntMath.java

       *
       * <p>{@link #pow} may be faster, but does not check for overflow.
       *
       * @throws ArithmeticException if {@code b} to the {@code k}th power overflows in signed {@code
       *     int} arithmetic
       */
      public static int checkedPow(int b, int k) {
        checkNonNegative("exponent", k);
        switch (b) {
          case 0:
            return (k == 0) ? 1 : 0;
          case 1:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

           *
           * Android API level 26 and JVM8 both let our Error propagate directly the first time and
           * throw NoClassDefFoundError thereafter. This is the proper behavior according to the spec.
           * See https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.4.2 (steps #11 and
           * #5).
           *
           * Note that that "first time" might happen in a test other than
           * testLexicographicalComparatorChoice!
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

        checkArgument(
            subtype.isSubtypeOf(this), "%s does not appear to be a subtype of %s", subtype, this);
        return subtype;
      }
    
      /**
       * Returns true if this type is a supertype of the given {@code type}. "Supertype" is defined
       * according to <a
       * href="http://docs.oracle.com/javase/specs/jls/se8/html/jls-4.html#jls-4.5.1">the rules for type
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * either case, no one needs to read `futures` for cancellation purposes later. (And
         * cancellation purposes are the main reason to access `futures`, as discussed in its docs.)
         */
        this.futures = null;
      }
    
      enum ReleaseResourcesReason {
        OUTPUT_FUTURE_DONE,
        ALL_INPUT_FUTURES_PROCESSED,
      }
    
      /**
    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)
  6. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

       * That statement compiles only if {@link FluentIterable#concat concat(aIterable, bIterable)}
       * returns a {@link FluentIterable} of elements of an anonymous type whose supertypes are the <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.9">intersection</a> of
       * the supertypes of {@code A} and the supertypes of {@code B}.
       */
      public void testConcatIntersectionType() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
        Boolean boxedBoolean = null;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        try {
          getList().subList(1, 0);
          fail("subList(1, 0) should throw");
        } catch (IndexOutOfBoundsException expected) {
        } catch (IllegalArgumentException expected) {
          /*
           * The subList() docs claim that this should be an
           * IndexOutOfBoundsException, but many JDK implementations throw
           * IllegalArgumentException:
           * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4506427
           */
        }
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Closeables.java

       *   try {
       *     // ... code which does something with the stream ...
       *     threw = false;
       *   } finally {
       *     // If an exception occurs, rethrow it only if threw==false:
       *     Closeables.close(stream, threw);
       *   }
       * }
       * }</pre>
       *
       * @param closeable the {@code Closeable} object to be closed, or null, in which case this method
       *     does nothing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/CharMatcher.java

     * <a href="http://www.unicode.org/glossary/#supplementary_code_point">supplementary Unicode code
     * points</a> in the range {@code 0x10000} to {@code 0x10FFFF} which includes the majority of
     * assigned characters, including important CJK characters and emoji.
     *
     * <p>Supplementary characters are <a
     * href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#supplementary">encoded
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
Back to top