Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 1,324 for Sets (0.02 seconds)

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

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        // Not testing rowKeySet() or columnKeySet() of Table.transformValues()
        // since the transformation doesn't affect the row and column key sets.
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/TableCollectionTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        // Not testing rowKeySet() or columnKeySet() of Table.transformValues()
        // since the transformation doesn't affect the row and column key sets.
    
        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/ArrayMap.java

            final Entry<K, V> e = new Entry<>(hashCode, key, value, mapTable[index]);
            mapTable[index] = e;
            listTable[size++] = e;
            return null;
        }
    
        /**
         * Sets the value at the specified index.
         *
         * @param index
         *            the index
         * @param value
         *            the value
         */
        public void setAt(final int index, final V value) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Reader.java

                    checkUnknownElement(parser, strict);
                }
            }
            return coreExtensions;
        } // -- CoreExtensions parseCoreExtensions( XmlPullParser, boolean )
    
        /**
         * Sets the state of the "add default entities" flag.
         *
         * @param addDefaultEntities a addDefaultEntities object.
         */
        public void setAddDefaultEntities(boolean addDefaultEntities) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

          Multimap<? extends K, ? extends V> multimap) {
        if (multimap.isEmpty()) {
          return of();
        }
    
        // TODO(lowasser): copy ImmutableSetMultimap by using asList() on the sets
        if (multimap instanceof ImmutableListMultimap) {
          @SuppressWarnings("unchecked") // safe since multimap is not writable
          ImmutableListMultimap<K, V> kvMultimap = (ImmutableListMultimap<K, V>) multimap;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertEquals("1.6", restriction.getUpperBound().toString(), CHECK_UPPER_BOUND);
            assertTrue(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
    
            // test restricting empty sets
            range1 = VersionRange.createFromVersionSpec("[,1.1],[1.4,]");
            range2 = VersionRange.createFromVersionSpec("[1.2,1.3]");
            range1 = range1.restrict(range2);
            mergedRange = range1.restrict(range2);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /** Returns a new builder for an immutable range set. */
      public static <C extends Comparable<?>> Builder<C> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for immutable range sets.
       *
       * @since 14.0
       */
      public static class Builder<C extends Comparable<?>> {
        private final List<Range<C>> ranges;
    
        public Builder() {
          this.ranges = new ArrayList<>();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x003300, (int) webSafeColors.get(6));
        ImmutableList<Integer> addedColor = webSafeColorsBuilder.add(0x00BFFF).build();
        assertEquals(
            "Modifying the builder should not have changed any already built sets",
            216,
            webSafeColors.size());
        assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /** Returns a new builder for an immutable range set. */
      public static <C extends Comparable<?>> Builder<C> builder() {
        return new Builder<>();
      }
    
      /**
       * A builder for immutable range sets.
       *
       * @since 14.0
       */
      public static class Builder<C extends Comparable<?>> {
        private final List<Range<C>> ranges;
    
        public Builder() {
          this.ranges = new ArrayList<>();
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/RangeTest.java

        Range<Integer> range = Range.closed(3, 5);
        assertTrue(range.containsAll(asList(3, 3, 4, 5)));
        assertFalse(range.containsAll(asList(3, 3, 4, 5, 6)));
    
        // We happen to know that natural-order sorted sets use a different code
        // path, so we test that separately
        assertTrue(range.containsAll(ImmutableSortedSet.of(3, 3, 4, 5)));
        assertTrue(range.containsAll(ImmutableSortedSet.of(3)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
Back to Top