Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 877 for Collections2 (0.08 seconds)

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

     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create integer sets for testing collections that are sorted by natural ordering.
     *
     * @author Chris Povirk
     * @author Jared Levy
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      public void testBuilderPutAllWithEmptyMap() {
        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>naturalOrder()
                .putAll(Collections.<String, Integer>emptyMap())
                .build();
        assertEquals(Collections.<String, Integer>emptyMap(), map);
      }
    
      public void testBuilderPutAll() {
        Map<String, Integer> toPut = new LinkedHashMap<>();
        toPut.put("one", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultDependencyManagementInjector.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.management;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.Exclusion;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java

    import org.elasticsearch.common.util.set.Sets;
    import org.elasticsearch.gateway.GatewayAllocator;
    import org.elasticsearch.snapshots.EmptySnapshotsInfoService;
    
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicInteger;
    
    public final class Allocators {
        private static class NoopGatewayAllocator extends GatewayAllocator {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 03 00:10:53 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  5. guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.collect.testing.features.CollectionFeature;
    import java.util.Collections;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestResult;
    
    /**
     * @author Max Ross
     */
    @AndroidIncompatible // test-suite builders
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

                @Override
                public java.util.List<LaScheduledJob> getJobList() {
                    return Collections.emptyList();
                }
    
                @Override
                public java.util.List<org.lastaflute.job.LaJobHistory> searchJobHistoryList() {
                    return Collections.emptyList();
                }
    
                @Override
                public void reboot() {
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            return Collections.unmodifiableList(new MappedList<>(
                    getMavenProject(project).getRemoteProjectRepositories(), session::getRemoteRepository));
        }
    
        @Override
        @Nonnull
        public List<RemoteRepository> getRemotePluginRepositories(@Nonnull Project project) {
            return Collections.unmodifiableList(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestStringSortedSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.SortedSet;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create string sets for testing collections that are sorted by natural ordering.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 11 19:03:19 GMT 2025
    - 2K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.ListIterator;
    import java.util.Set;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top