Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 3,512 for _extends (0.69 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    @GwtCompatible
    @NullMarked
    public class SetGenerators {
    
      public static class ImmutableSetCopyOfGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class ImmutableSetUnsizedBuilderGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Platform.java

      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return CompactHashMap.createWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
                    new TypeCapture<Map<? extends Number, ? extends Number>>() {}.capture())
                .resolveType(subtype);
      }
    
      interface TypedKeyMap<T> extends Map<Integer, T> {}
    
      interface TypedListKeyMap<T> extends Map<List<Integer>, T> {}
    
      private static <T> Type aTypeVariable() {
        return new TypeCapture<T>() {}.capture();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * @param <V5> the type returned by the fifth future
       */
      public static final class Combiner5<
              V1 extends @Nullable Object,
              V2 extends @Nullable Object,
              V3 extends @Nullable Object,
              V4 extends @Nullable Object,
              V5 extends @Nullable Object>
          extends Combiner {
        /**
         * A function that returns a value when applied to the values of the five futures passed to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
          Iterable<? extends T> iterable, Class<@NonNull T> type) {
        return toArray(iterable, ObjectArrays.newArray(type, 0));
      }
    
      static <T extends @Nullable Object> T[] toArray(Iterable<? extends T> iterable, T[] array) {
        Collection<? extends T> collection = castOrCopyToCollection(iterable);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

          super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E);
        }
      }
    
      public static class Ints extends SampleElements<Integer> {
        public Ints() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super(1, 0, 2, 3, 4);
        }
      }
    
      public static <K extends @Nullable Object, V extends @Nullable Object>
          SampleElements<Entry<K, V>> mapEntries(SampleElements<K> keys, SampleElements<V> values) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

     */
    public abstract class ForwardingImmutableMap<K, V> extends ImmutableMap<K, V> {
    
      final transient Map<K, V> delegate;
    
      ForwardingImmutableMap(Map<? extends K, ? extends V> delegate) {
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @SuppressWarnings("unchecked")
      ForwardingImmutableMap(boolean throwIfDuplicateKeys, Entry<? extends K, ? extends V>... entries) {
        Map<K, V> delegate = Maps.newLinkedHashMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
      static final class YetAnotherCheckedException extends Exception {}
    
      static final class SomeUncheckedException extends RuntimeException {}
    
      static final class SomeChainingException extends RuntimeException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Serialization.java

       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
        stream.writeInt(map.size());
        for (Map.Entry<K, V> entry : map.entrySet()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Platform.java

      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top