Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 2,780 for extend (0.15 sec)

  1. guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

      // public named classes with a public default constructor.
    
      public static final class FloatsAsListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
          return asList(elements);
        }
      }
    
      public static final class FloatsAsListHeadSubListGenerator extends TestFloatListGenerator {
        @Override
        protected List<Float> create(Float[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

      // public named classes with a public default constructor.
    
      public static final class IntsAsListGenerator extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
          return asList(elements);
        }
      }
    
      public static final class IntsAsListHeadSubListGenerator extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

      public static final class TwoArgConstructorException extends Exception {
        public TwoArgConstructorException(String message, Throwable cause) {
          super(message, cause);
        }
      }
    
      public static final class TwoArgConstructorRuntimeException extends RuntimeException {
        public TwoArgConstructorRuntimeException(String message, Throwable cause) {
          super(message, cause);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

     * @author Louis Wasserman
     * @since 2.0
     */
    @GwtCompatible
    public final class LinkedHashMultimap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractSetMultimap<K, V> {
    
      /** Creates a new, empty {@code LinkedHashMultimap} with the default initial capacities. */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMultimap<K, V> create() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ArrayListMultimap.java

       * the underlying data structure.
       *
       * @param multimap the multimap whose contents are copied to this multimap
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          ArrayListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
        return new ArrayListMultimap<>(multimap);
      }
    
      private ArrayListMultimap() {
        this(12, DEFAULT_VALUES_PER_KEY);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMap.java

         * @since 19.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> putAll(Iterable<? extends Entry<? extends K, ? extends V>> entries) {
          if (entries instanceof Collection) {
            ensureCapacity(size + ((Collection<?>) entries).size());
          }
          for (Entry<? extends K, ? extends V> entry : entries) {
            put(entry);
          }
          return this;
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

        // used under GWT, etc., since the override of this method does not exist there
        ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() {
          return ImmutableMap.of();
        }
      }
    
      private static final ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> INSTANCE_OF =
          ImmutableMap.<Class<? extends Throwable>, Predicate<Throwable>>builder()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

          Runnable task, @ParametricNullness T result) {
        return (ListenableFuture<T>) super.submit(task, result);
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) {
        return (ListenableFuture<T>) super.submit(task);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 17:47:46 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/NullsFirstOrdering.java

    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that treats {@code null} as less than all other values. */
    @GwtCompatible
    final class NullsFirstOrdering<T extends @Nullable Object> extends Ordering<@Nullable T>
        implements Serializable {
      final Ordering<? super T> ordering;
    
      NullsFirstOrdering(Ordering<? super T> ordering) {
        this.ordering = ordering;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top