Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for generic (4.25 sec)

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

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a set. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.SetTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests offer operations on a queue. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove()} operations on a queue. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code containsAll()} operations on a collection. Can't be
     * invoked directly; please see {@link
     * com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java

    import java.util.Collection;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.function.Predicate;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Collection#removeIf}. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import java.lang.reflect.Method;
    import java.util.Hashtable;
    import java.util.Map;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompoundOrdering.java

      final Comparator<? super T>[] comparators;
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Comparator<? super T> primary, Comparator<? super T> secondary) {
        this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary};
      }
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompoundOrdering.java

      final Comparator<? super T>[] comparators;
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Comparator<? super T> primary, Comparator<? super T> secondary) {
        this.comparators = (Comparator<? super T>[]) new Comparator<?>[] {primary, secondary};
      }
    
      @SuppressWarnings("unchecked") // Generic array creation
      CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        private Object proxy;
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> Callable<V> waitFor(Callable<V> callable) {
          return waitFor(callable, Callable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        assertEquals(1, map.size());
        assertEquals(ImmutableList.of(1), map.getInstance(type));
      }
    
      public void testGenericArrayType() {
        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
        TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {};
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top