Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,830 for collection (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                Collection.class,
                new Function<Collection, Collection>() {
                  @Override
                  public Collection apply(Collection delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      private static <T> Collection<T> wrap(Collection<T> delegate) {
        return new ForwardingCollection<T>() {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  2. guava/src/com/google/common/collect/ImmutableMultimap.java

         */
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
          if (values instanceof Collection<?>) {
            Collection<?> collection = (Collection<?>) values;
            return max(defaultExpectedValues, collection.size());
          } else {
            return defaultExpectedValues;
          }
        }
    
        /** Adds a key-value mapping to the built multimap. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsKeyMatchCQ.java

            not(not -> not.setId_Term(id), opLambda);
        }
    
        public void setId_Terms(Collection<String> idList) {
            setId_Terms(idList, null);
        }
    
        public void setId_Terms(Collection<String> idList, ConditionOptionCall<IdsQueryBuilder> opLambda) {
            IdsQueryBuilder builder = regIdsQ(idList);
            if (opLambda != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 68.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.artifact;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    import org.apache.maven.artifact.InvalidArtifactRTException;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

      public void testEntrySetEquals() {
        resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3()));
        Set<Entry<K, Collection<V>>> expected = new HashSet<>();
        expected.add(mapEntry(k0(), (Collection<V>) newHashSet(v0(), v3())));
        expected.add(mapEntry(k1(), (Collection<V>) newHashSet(v0())));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap().entrySet()).testEquals();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableAsList.java

      @GwtIncompatible
      @J2ktIncompatible
      private static final class SerializedForm implements Serializable {
        final ImmutableCollection<?> collection;
    
        SerializedForm(ImmutableCollection<?> collection) {
          this.collection = collection;
        }
    
        Object readResolve() {
          return collection.asList();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      @GwtIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

            "containsAll(sameElements) should return true",
            collection.containsAll(MinimalCollection.of(createSamplesArray())));
      }
    
      @SuppressWarnings("ModifyingCollectionWithItself")
      public void testContainsAll_self() {
        assertTrue("containsAll(this) should return true", collection.containsAll(collection));
      }
    
      public void testContainsAll_partialOverlap() {
        assertFalse(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingMultimap.java

      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return delegate().containsValue(value);
      }
    
      @Override
      public Collection<Entry<K, V>> entries() {
        return delegate().entries();
      }
    
      @Override
      public Collection<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @Override
      public boolean isEmpty() {
        return delegate().isEmpty();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMultimap.java

      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return delegate().containsValue(value);
      }
    
      @Override
      public Collection<Entry<K, V>> entries() {
        return delegate().entries();
      }
    
      @Override
      public Collection<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @Override
      public boolean isEmpty() {
        return delegate().isEmpty();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableEnumSet.java

        return delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (collection instanceof ImmutableEnumSet<?>) {
          collection = ((ImmutableEnumSet<?>) collection).delegate;
        }
        return delegate.containsAll(collection);
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top