Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1121 - 1130 of 3,901 for objTest (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/Callables.java

    @ElementTypesAreNonnullByDefault
    public final class Callables {
      private Callables() {}
    
      /** Creates a {@code Callable} which immediately returns a preset value each time it is called. */
      public static <T extends @Nullable Object> Callable<T> returning(@ParametricNullness T value) {
        return () -> value;
      }
    
      /**
       * Creates an {@link AsyncCallable} from a {@link Callable}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

     * MoreExecutors#listeningDecorator}.
     *
     * @author Sven Mawson
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public class ListenableFutureTask<V extends @Nullable Object> extends FutureTask<V>
        implements ListenableFuture<V> {
      // TODO(cpovirk): explore ways of making ListenableFutureTask final. There are some valid reasons
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object == this) {
            return true;
          }
          if (object instanceof ShortArrayAsList) {
            ShortArrayAsList that = (ShortArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

        }
    
        @Override
        public boolean equals(@CheckForNull Object object) {
          if (object == this) {
            return true;
          }
          if (object instanceof ShortArrayAsList) {
            ShortArrayAsList that = (ShortArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/TypesTest.java

           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
          "ExtendsObject",
        })
        <T extends Object> void withObjectBound(List<T> list) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypesTest.java

           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
           * really hurt anything, and maybe it will serve a purpose in a future in which Java has a
           * built-in nullness feature?
           */
          "ExtendsObject",
        })
        <T extends Object> void withObjectBound(List<T> list) {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayMap.java

                listTable[i] = null;
            }
            size = 0;
        }
    
        /**
         * 配列に変換します。
         *
         * @return 配列
         */
        public Object[] toArray() {
            final Object[] array = new Object[size];
            for (int i = 0; i < array.length; i++) {
                array[i] = getAt(i);
            }
            return array;
        }
    
        /**
         * 配列に変換します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

     *
     * @author Kurt Alfred Kluever
     * @since 3.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingSortedSetMultimap<
            K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingSetMultimap<K, V> implements SortedSetMultimap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingSortedSetMultimap() {}
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/RemovalListener.java

     * shared resources.
     *
     * @param <K> the most general type of keys this listener can listen for; for example {@code Object}
     *     if any key is acceptable
     * @param <V> the most general type of values this listener can listen for; for example {@code
     *     Object} if any key is acceptable
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/SingletonImmutableSet.java

      SingletonImmutableSet(E element) {
        this.element = Preconditions.checkNotNull(element);
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        return element.equals(target);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return singletonIterator(element);
      }
    
      @Override
      public ImmutableList<E> asList() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top