Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,313 for Collection (0.21 sec)

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

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

      }
    
      /**
       * A sensible definition of {@link #addAll(Collection)} in terms of {@link #add(Object)} and
       * {@link #add(Object, int)}. If you override either of these methods, you may wish to override
       * {@link #addAll(Collection)} to forward to this implementation.
       *
       * @since 7.0
       */
      @Override
      protected boolean standardAddAll(Collection<? extends E> elementsToAdd) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", collection.isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableCollection.java

     */
    // TODO: Make this class GWT serializable.
    @ElementTypesAreNonnullByDefault
    class ForwardingImmutableCollection<E> extends ImmutableCollection<E> {
    
      final transient Collection<E> delegate;
    
      ForwardingImmutableCollection(Collection<E> delegate) {
        this.delegate = delegate;
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return Iterators.unmodifiableIterator(delegate.iterator());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * transitive dependencies and does not actually resolve the artifact files.
         *
         * @param request the dependency collection request, must not be {@code null}
         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java

        return new OpenJdk6SetTests().allTests();
      }
    
      @Override
      protected Collection<Method> suppressForTreeSetNatural() {
        return asList(
            getAddNullUnsupportedMethod(),
            getAddAllNullUnsupportedMethod(),
            getCreateWithNullUnsupportedMethod());
      }
    
      @Override
      protected Collection<Method> suppressForCheckedSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstaller.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.Collection;
    import java.util.Collections;
    
    import org.apache.maven.api.ProducedArtifact;
    import org.apache.maven.api.Service;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Map<NonSerializableClass, String> map =
            RegularImmutableMap.fromEntries(ImmutableMap.entryOf(new NonSerializableClass(), "value"));
        Collection<String> collection = map.values();
    
        LenientSerializableTester.reserializeAndAssertElementsEqual(collection);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testValuesCollectionIsSerializable_jdkBackedImmutableMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

      public static ImmutableIntArray copyOf(Collection<Integer> values) {
        return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
       * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code
       * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java

        @SuppressWarnings({"rawtypes", "unchecked"})
        @Override
        public Collection<Type> provides() {
            return (Collection) types();
        }
    
        public Collection<DefaultType> types() {
            return Arrays.asList(
                    // Maven types
                    new DefaultType(Type.POM, Language.NONE, "pom", null, false),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top