Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 140 for JDK (0.31 sec)

  1. guava/src/com/google/common/collect/Comparators.java

     * <p>In light of the significant enhancements to {@code Comparator} in Java 8, the overwhelming
     * majority of usages of {@code Ordering} can be written using only built-in JDK APIs. This class is
     * intended to "fill the gap" and provide those features of {@code Ordering} not already provided by
     * the JDK.
     *
     * @since 21.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    public final class Comparators {
      private Comparators() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/LittleEndianByteArray.java

        private static final int BYTE_ARRAY_BASE_OFFSET;
    
        /**
         * Returns an Unsafe. Suitable for use in a 3rd party package. Replace with a simple call to
         * Unsafe.getUnsafe when integrating into a JDK.
         *
         * @return an Unsafe instance if successful
         */
        private static Unsafe getUnsafe() {
          try {
            return Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. .github/workflows/docs.yml

        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'documentation')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v5
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 17
    
          - uses: actions/setup-python@v5
            with:
              python-version: 3.x
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 987 bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutAllNullKeyUnsupportedMethod() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
        }
    
        private boolean isExceptPrivateAccessible(Method method) {
            // to avoid warning of JDK-internal access at Java11
            // Lasta Di does not need private access to the classes
            final String fqcn = method.getDeclaringClass().getName();
            return fqcn.startsWith("java.") || fqcn.startsWith("jdk.") || fqcn.startsWith("com.sun.") || fqcn.startsWith("sun.");
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/MapIteratorCache.java

     * <p>This class is tailored toward use cases in common.graph. It is *NOT* a general purpose map.
     *
     * @author James Sexton
     */
    class MapIteratorCache<K, V> {
      private final Map<K, V> backingMap;
    
      /*
       * Per JDK: "the behavior of a map entry is undefined if the backing map has been modified after
       * the entry was returned by the iterator, except through the setValue operation on the map entry"
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingConcurrentMap.java

      @Override
      public @Nullable V replace(K key, V value) {
        return delegate().replace(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("nullness") // https://github.com/jspecify/jdk/issues/118
      public boolean replace(K key, V oldValue, V newValue) {
        return delegate().replace(key, oldValue, newValue);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 16:58:16 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

            }
            return sb.toString();
          }
        },
        // It really seems like this should be faster than TO_BYTE_ARRAY_NEW_STRING.  But it just isn't
        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/DoubleUtils.java

        return longBitsToDouble(significand | ONE_BITS);
      }
    
      static double bigToDouble(BigInteger x) {
        // This is an extremely fast implementation of BigInteger.doubleValue(). JDK patch pending.
        BigInteger absX = x.abs();
        int exponent = absX.bitLength() - 1;
        // exponent == floor(log2(abs(x)))
        if (exponent < Long.SIZE - 1) {
          return x.longValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Utf8.java

     * introduced in Unicode 3.1. One implication of this is that it rejects <a
     * href="http://www.unicode.org/versions/corrigendum1.html">"non-shortest form"</a> byte sequences,
     * even though the JDK decoder may accept them.
     *
     * @author Martin Buchholz
     * @author Clément Roux
     * @since 16.0
     */
    @GwtCompatible
    public final class Utf8 {
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top