Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,314 for collectionOf (0.11 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
        assertFalse(collection.contains(element));
        assertEquals(originalSize - 1, collection.size());
      }
    
      @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_ITERATOR_REMOVE})
      public void testIterator_knownOrderRemoveSupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    /**
     * 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsUserCQ.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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 326.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      }
    
      // Creation tests
    
      public void testEmptyBuilder() {
        ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().build();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
        assertEquals(Collections.<Integer, String>emptyMap(), map.inverse());
        assertSame(ImmutableBiMap.of(), map);
      }
    
      public void testSingletonBuilder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    
    import org.apache.maven.RepositoryUtils;
    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
    - 12.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

                    .collect(Collectors.toList());
        }
    
        @Override
        public List<Profile> getActiveProfiles(
                Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems) {
            Collection<String> activatedIds = new HashSet<>(context.getActiveProfileIds());
            Collection<String> deactivatedIds = new HashSet<>(context.getInactiveProfileIds());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.RepositoryUtils;
    import org.apache.maven.artifact.Artifact;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsSearchLogCQ.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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 145.4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
                .add(SHORT_NAME, Collections.singletonMap("k1", "v1"))
                .add(LONG_NAME, Collections.singletonMap("k2", "v2"))
                .addValue(Collections.singletonMap("k3", "v3"))
                .addValue(Collections.emptyMap())
                .addValue(null)
                .add(SHORT_NAME, Optional.of("1"))
                .add(LONG_NAME, Optional.of("1"))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsFailureUrlCQ.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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 57.4K bytes
    - Viewed (0)
Back to top