Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for HashSet (0.05 sec)

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

        Set<String> all = Sets.union(friends, enemies);
        assertEquals(5, all.size());
    
        ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Buck");
        assertEquals(6, all.size());
        assertEquals(5, immut.size());
        assertEquals(5, mut.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestStringSetGenerator() {
                  @Override
                  public Set<String> create(String[] elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                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)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.CollectionSerializationEqualTester;
    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestStringSetGenerator() {
                  @Override
                  public Set<String> create(String[] elements) {
                    return new HashSet<>(MinimalCollection.of(elements));
                  }
                })
            .named("HashSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
                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)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

    import gradlebuild.binarycompatibility.ApiChange;
    import me.champeau.gradle.japicmp.report.SetupRule;
    import me.champeau.gradle.japicmp.report.ViolationCheckContext;
    
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    public class AcceptedRegressionsRuleSetup implements SetupRule {
    
        private final Set<ApiChange> acceptedApiChanges;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/KerberosTest.java

            KerberosTicket ticket = getKerberosTicket(keytab, principal);
            Set<Object> privCreds = new HashSet<>();
            privCreds.add(ticket);
            return new Subject(false, new HashSet<>(Arrays.asList((Principal) principal)), Collections.EMPTY_SET, privCreds);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

                Collection<String> packages,
                String key,
                XmlNode configuration) {
            this.realm = realm;
            this.artifacts = Collections.unmodifiableSet(new HashSet<>(artifacts));
            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
            this.configuration = configuration;
        }
    
        /**
         * Returns ClassLoader used to load extension classes.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableSet;
    import java.util.HashSet;
    import java.util.Set;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

    import static org.hamcrest.CoreMatchers.not;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import junit.framework.TestCase;
    import junit.textui.ResultPrinter;
    import junit.textui.TestRunner;
    
    import org.codelibs.core.io.TraversalUtil.FileSystemTraverser;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiPartOfSpeechFilterFactory.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.opensearch.extension.kuromoji.index.analysis;
    
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.lucene.analysis.TokenStream;
    import org.apache.lucene.analysis.ja.JapaneseAnalyzer;
    import org.apache.lucene.analysis.ja.JapanesePartOfSpeechStopFilter;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top