Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for legacy (0.18 sec)

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

        // TODO(b/160980469): remove support for the old serialization format after some time
        private static final boolean USE_LEGACY_SERIALIZATION = true;
    
        private final Object keys;
        private final Object values;
    
        SerializedForm(ImmutableMap<K, V> map) {
          if (USE_LEGACY_SERIALIZATION) {
            Object[] keys = new Object[map.size()];
            Object[] values = new Object[map.size()];
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 44.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(set0).isEmpty();
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set1 = ImmutableSortedSet.of(LegacyComparable.Z);
        assertThat(set1).containsExactly(LegacyComparable.Z);
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set2 =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      /**
       * Returns a default thread factory used to create new threads.
       *
       * <p>When running on AppEngine with access to <a
       * href="https://cloud.google.com/appengine/docs/standard/java/javadoc/">AppEngine legacy
       * APIs</a>, this method returns {@code ThreadManager.currentRequestThreadFactory()}. Otherwise,
       * it returns {@link Executors#defaultThreadFactory()}.
       *
       * @since 14.0
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(set0).isEmpty();
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set1 = ImmutableSortedSet.of(LegacyComparable.Z);
        assertThat(set1).containsExactly(LegacyComparable.Z);
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set2 =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 45.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Function.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * <h3>For Java 8+ users</h3>
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

            assertThat(UnsignedInts.parseUnsignedInt(Long.toString(a, radix), radix))
                .isEqualTo((int) a);
          }
        }
      }
    
      public void testParseIntWithRadixLimits() {
        // loops through all legal radix values.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          // tests can successfully parse a number string with this radix.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

       * a {@link NullPointerException} when passed a null parameter.
       *
       * <p>The type specification is {@code <C extends Comparable>}, instead of the technically correct
       * {@code <C extends Comparable<? super C>>}, to support legacy types from before Java 5.
       *
       * <p><b>Java 8+ users:</b> use {@link Comparator#naturalOrder} instead.
       */
      @GwtCompatible(serializable = true)
      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheBuilder.java

       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      @GwtIncompatible // java.time.Duration
      @SuppressWarnings("GoodTime") // duration decomposition
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Iterables.java

    import java.util.stream.Stream;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An assortment of mainly legacy static utility methods that operate on or return objects of type
     * {@code Iterable}. Except as noted, each method has a corresponding {@link Iterator}-based method
     * in the {@link Iterators} class.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

            .isEqualTo(0x1234567890abcdefL);
      }
    
      public void testParseLongWithRadixLimits() {
        BigInteger max = BigInteger.ZERO.setBit(64).subtract(ONE);
        // loops through all legal radix values.
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          // tests can successfully parse a number string with this radix.
          String maxAsString = max.toString(radix);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top