Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for jls (0.24 sec)

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

     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Defaults {
      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
       * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * Futures#addCallback addCallback()}.
       *
       * <p>Memory consistency effects: Actions in a thread prior to adding a listener <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4.5">
       * <i>happen-before</i></a> its execution begins, perhaps in another thread.
       *
       * <p>Guava implementations of {@code ListenableFuture} promptly release references to listeners
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Defaults.java

     *
     * @author Ben Yu
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Defaults {
      private Defaults() {}
    
      private static final Double DOUBLE_DEFAULT = 0d;
      private static final Float FLOAT_DEFAULT = 0f;
    
      /**
       * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

        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
       * arguments</a> introduced with Java generics.
       *
       * @since 19.0
       */
      public final boolean isSupertypeOf(TypeToken<?> type) {
        return type.isSubtypeOf(getType());
    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. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * Futures#addCallback addCallback()}.
       *
       * <p>Memory consistency effects: Actions in a thread prior to adding a listener <a
       * href="https://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.4.5">
       * <i>happen-before</i></a> its execution begins, perhaps in another thread.
       *
       * <p>Guava implementations of {@code ListenableFuture} promptly release references to listeners
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/Reflection.java

        return (lastDot < 0) ? "" : classFullName.substring(0, lastDot);
      }
    
      /**
       * Ensures that the given classes are initialized, as described in <a
       * href="http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4.2">JLS Section
       * 12.4.2</a>.
       *
       * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

           * 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!
           */
          return false;
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

           * 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!
           */
          return false;
        }
    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)
  9. android/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;
        boolean aBoolean = true;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. 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;
        boolean aBoolean = true;
    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)
Back to top