Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,099 for Collections (0.05 sec)

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

    @GwtCompatible
    @NullMarked
    public class RegularImmutableAsListTest extends TestCase {
      /**
       * RegularImmutableAsList should assume its input is null-free without checking, because it only
       * gets invoked from other immutable collections.
       */
      public void testDoesntCheckForNull() {
        ImmutableSet<Integer> set = ImmutableSet.of(1, 2, 3);
        ImmutableList<Integer> unused =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ResourceManager.java

            Set<String> result = Collections.newSetFromMap(new ConcurrentHashMap<>());
    
            for (ResourceHolder holder : activeResources.values()) {
                if (!holder.closed && holder.isAlive()) {
                    result.add(String.format("%s (%s, age: %d ms)", holder.resourceId, holder.resourceType, holder.getAge()));
                }
            }
    
            return Collections.unmodifiableSet(result);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.util;
    
    import java.io.UnsupportedEncodingException;
    import java.net.URLEncoder;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Date;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.util.CharUtil;
    import org.codelibs.fess.taglib.FessFunctions;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    import java.util.Objects;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.BoundType;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Multiset;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

    import com.google.common.collect.testing.google.TestBiMapGenerator;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

    import com.google.common.annotations.GwtIncompatible;
    import java.util.Set;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
        implements TestSetGenerator<E> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multiset.java

    import com.google.errorprone.annotations.CompatibleWith;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Set;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import java.util.function.ObjIntConsumer;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A collection that supports order-independent equality, like {@link Set}, but may have duplicate
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SortedIterables.java

    import java.util.SortedSet;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Utilities for dealing with sorted collections of all types.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    final class SortedIterables {
      private SortedIterables() {}
    
      /**
       * Returns {@code true} if {@code elements} is a sorted collection using an ordering equivalent to
       * {@code comparator}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An unhashable object to be used in testing as values in our collections.
     *
     * @author Regina O'Dell
     */
    @GwtCompatible
    public class UnhashableObject implements Comparable<UnhashableObject> {
      private final int value;
    
      public UnhashableObject(int value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Apr 10 20:12:40 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top