Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,314 for collectionOf (0.15 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

    import com.google.common.collect.testing.SampleElements.Unhashables;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Creates collections containing unhashable sample elements, to be tested.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>>
        implements TestCollectionGenerator<UnhashableObject> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. 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)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/DelegatingLocalArtifactRepository.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.LinkedHashSet;
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    import static java.util.Collections.disjoint;
    import static java.util.Collections.unmodifiableSet;
    import static java.util.logging.Level.FINER;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.ConflictingRequirementsException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Chars.java

       *     to primitives
       * @throws NullPointerException if {@code collection} or any of its elements is null
       */
      public static char[] toArray(Collection<Character> collection) {
        if (collection instanceof CharArrayAsList) {
          return ((CharArrayAsList) collection).toCharArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeMultimap.java

        putAll(multimap);
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return createMaybeNavigableAsMap();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Creates an empty {@code TreeSet} for a collection of values for one key.
       *
       * @return a new {@code TreeSet} containing a collection of values for one key
       */
      @Override
      SortedSet<V> createCollection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

            UnsupportedOperationException.class,
            () -> collection.removeAll(MinimalCollection.of(e0())));
        expectUnchanged();
        assertTrue(collection.contains(e0()));
      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

    import java.net.URLDecoder;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.Map;
    
    import org.apache.commons.lang3.StringUtils;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.collection.LruHashMap;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.MapInterfaceTest;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * Test {@code TreeMultimap.asMap().subMap()} with {@link MapInterfaceTest}.
     *
     * @author Jared Levy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

            IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            Collection<Integer> collection = Sets.newLinkedHashSet();
            Collections.addAll(collection, 1, 2, 3);
            return FluentIterable.from(collection).skip(1).iterator();
          }
        }.test();
      }
    
      public void testSkip_iteratorList() throws Exception {
        new IteratorTester<Integer>(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
Back to top