Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,124 for Collection (0.17 sec)

  1. guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/MemoryUtil.java

                for (final Object value : (Object[]) obj) {
                    size += sizeOf(value);
                }
                return size;
            }
            if (obj instanceof Collection<?>) {
                long size = 0;
                for (final Object value : (Collection<?>) obj) {
                    size += sizeOf(value);
                }
                return size;
            }
            if (obj instanceof Map<?, ?>) {
                long size = 0;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().poll(timeout, unit);
      }
    
      @Override
      public int drainTo(Collection<? super E> c) {
        return delegate().drainTo(c);
      }
    
      @Override
      public int drainTo(Collection<? super E> c, int maxElements) {
        return delegate().drainTo(c, maxElements);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

     */
    package org.codelibs.core.beans.impl;
    
    import static java.util.Collections.unmodifiableCollection;
    import static org.codelibs.core.collection.CollectionsUtil.newArrayList;
    import static org.codelibs.core.collection.CollectionsUtil.newHashMap;
    import static org.codelibs.core.collection.CollectionsUtil.newHashSet;
    import static org.codelibs.core.lang.GenericsUtil.getActualClass;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilter.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.LinkedHashSet;
    import java.util.Set;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Apply multiple filters, accepting an artifact if at least one of the filters accepts it.
     *
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * the {@code Collection} specified by the {@link ListMultimap} interface.
     *
     * <p>The methods {@link #get}, {@link #keySet()}, {@link #keys()}, {@link #values()}, {@link
     * #entries()}, and {@link #asMap()} return collections that are views of the multimap. If the
     * multimap is modified while an iteration over any of those collections is in progress, except
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Testing utilities relating to garbage collection finalization.
     *
     * <p>Use this class to test code triggered by finalization, that is, one of the following
     * actions taken by the java garbage collection system:
     *
     * <ul>
     *   <li>invoking the {@code finalize} methods of unreachable objects
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import java.util.Arrays;
    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableListMultimap.java

        return new Builder<K, V>().putAll(entries).build();
      }
    
      /** Creates an ImmutableListMultimap from an asMap.entrySet. */
      static <K, V> ImmutableListMultimap<K, V> fromMapEntries(
          Collection<? extends Map.Entry<? extends K, ? extends Collection<? extends V>>> mapEntries,
          @Nullable Comparator<? super V> valueComparator) {
        if (mapEntries.isEmpty()) {
          return of();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

      /**
       * Adds all elements in {@code iterator} to {@code collection}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       *
       * @return {@code true} if {@code collection} was modified as a result of this operation
       */
      @CanIgnoreReturnValue
      public static <T extends @Nullable Object> boolean addAll(
          Collection<T> addTo, Iterator<? extends T> iterator) {
        checkNotNull(addTo);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
Back to top