Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for unmodifiableSet (0.17 sec)

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

                    Set<String> innerSet = new HashSet<>();
                    Collections.addAll(innerSet, elements);
                    return unmodifiableSet(innerSet);
                  }
                })
            .named("unmodifiableSet/HashSet")
            .withFeatures(
                CollectionFeature.NONE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/graph/AbstractNetwork.java

        Set<E> outEdgesU = outEdges(nodeU);
        Set<E> inEdgesV = inEdges(nodeV);
        return nodePairInvalidatableSet(
            outEdgesU.size() <= inEdgesV.size()
                ? unmodifiableSet(Sets.filter(outEdgesU, connectedPredicate(nodeU, nodeV)))
                : unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))),
            nodeU,
            nodeV);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractNetwork.java

        Set<E> outEdgesU = outEdges(nodeU);
        Set<E> inEdgesV = inEdges(nodeV);
        return nodePairInvalidatableSet(
            outEdgesU.size() <= inEdgesV.size()
                ? unmodifiableSet(Sets.filter(outEdgesU, connectedPredicate(nodeU, nodeV)))
                : unmodifiableSet(Sets.filter(inEdgesV, connectedPredicate(nodeV, nodeU))),
            nodeU,
            nodeV);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                    Set<String> innerSet = new HashSet<>();
                    Collections.addAll(innerSet, elements);
                    return unmodifiableSet(innerSet);
                  }
                })
            .named("unmodifiableSet/HashSet")
            .withFeatures(
                CollectionFeature.NONE,
                CollectionFeature.SERIALIZABLE,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FilteredEntryMultimap.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.util.Collections.unmodifiableList;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Predicate;
    import com.google.common.collect.Maps.ViewCachingAbstractMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static com.google.common.collect.testing.Platform.format;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableSet;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static com.google.common.collect.testing.Platform.format;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableSet;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.synchronizedSet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Queue;
    import java.util.Random;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. 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)
Back to top