Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,313 for Collection (0.1 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

        }
    
        @Override
        public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
            throws InterruptedException {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public <T> List<Future<T>> invokeAll(
            Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
            throws InterruptedException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Lists.java

        // We copy elements to an ArrayList first, rather than incurring the
        // quadratic cost of adding them to the COWAL directly.
        Collection<? extends E> elementsCollection =
            (elements instanceof Collection)
                ? (Collection<? extends E>) elements
                : newArrayList(elements);
        return new CopyOnWriteArrayList<>(elementsCollection);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LenientSerializableTester.java

        assertTrue(copy instanceof ImmutableMultiset);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) {
        Collection<E> copy = reserialize(original);
        assertTrue(elementsEqual(original, copy));
        assertTrue(copy instanceof ImmutableCollection);
        return copy;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/LenientSerializableTester.java

        assertTrue(copy instanceof ImmutableMultiset);
        return copy;
      }
    
      @CanIgnoreReturnValue
      @GwtIncompatible // SerializableTester
      static <E> Collection<E> reserializeAndAssertElementsEqual(Collection<E> original) {
        Collection<E> copy = reserialize(original);
        assertTrue(elementsEqual(original, copy));
        assertTrue(copy instanceof ImmutableCollection);
        return copy;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ForwardingList.java

        add(size(), element);
        return true;
      }
    
      /**
       * A sensible default implementation of {@link #addAll(int, Collection)}, in terms of the {@code
       * add} method of {@link #listIterator(int)}. If you override {@link #listIterator(int)}, you may
       * wish to override {@link #addAll(int, Collection)} to forward to this implementation.
       *
       * @since 7.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Table.java

       *
       * @return set of column keys
       */
      Set<C> columnKeySet();
    
      /**
       * Returns a collection of all values, which may contain duplicates. Changes to the returned
       * collection will update the underlying table, and vice versa.
       *
       * @return collection of values
       */
      Collection<V> values();
    
      /**
       * Returns a view that associates each row key with the corresponding map from column keys to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionToStringTester;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Abstract superclass of all test-suite builders for collection interfaces.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public abstract class AbstractCollectionTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/CumulativeScopeArtifactFilter.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.resolver.filter;
    
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.Set;
    
    /**
     * Filter to only retain objects in the given scope or better. This implementation allows the accumulation of multiple
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

        return construct(array);
      }
    
      /**
       * Returns an immutable list containing the given elements, in order. If {@code elements} is a
       * {@link Collection}, this method behaves exactly as {@link #copyOf(Collection)}; otherwise, it
       * behaves exactly as {@code copyOf(elements.iterator()}.
       *
       * @throws NullPointerException if {@code elements} contains a null element
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java

    /**
     * Base class for multiset collection tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> {
      protected final Multiset<E> getMultiset() {
        return (Multiset<E>) collection;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top