Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 326 for addCell (0.05 sec)

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

        assertFalse(rangeSet.contains(6));
      }
    
      public void testAddAll() {
        RangeSet<Integer> rangeSet = TreeRangeSet.create();
        rangeSet.add(Range.closed(3, 10));
        rangeSet.addAll(asList(Range.open(1, 3), Range.closed(5, 8), Range.closed(9, 11)));
        assertThat(rangeSet.asRanges()).containsExactly(Range.openClosed(1, 11)).inOrder();
      }
    
      public void testRemoveAll() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PreconditionsTest.java

            allOverloads.add(
                ImmutableList.<Class<?>>builder()
                    .add(predicateType)
                    .add(String.class) // the format string
                    .addAll(curr)
                    .build());
          }
        }
        return allOverloads.build().asList();
      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/CharsTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Character> list = Chars.asList(VALUES).subList(0, i);
            Collection<Character> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            char[] arr = Chars.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeResolver.java

              // adds recursive isSubtypeOf() call and feels complicated.
              // There is no contract one way or another as long as isSubtypeOf() works as expected.
              combined.addAll(asList(typeParam.getBounds()));
              if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound.
                combined.remove(Object.class);
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          for (int i = 0; i < VALUES.length; i++) {
            List<Double> list = Doubles.asList(VALUES).subList(0, i);
            Collection<Double> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            double[] arr = Doubles.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

       * 1}, this method has the identical effect to {@link #add(Object)}. This method is functionally
       * equivalent (except in the case of overflow) to the call {@code
       * addAll(Collections.nCopies(element, occurrences))}, which would presumably perform much more
       * poorly.
       *
       * @param element the element to add occurrences of; may be null only if explicitly allowed by the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/TypeResolver.java

              // adds recursive isSubtypeOf() call and feels complicated.
              // There is no contract one way or another as long as isSubtypeOf() works as expected.
              combined.addAll(asList(typeParam.getBounds()));
              if (combined.size() > 1) { // Object is implicit and only useful if it's the only bound.
                combined.remove(Object.class);
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

          scanned.add(location.file());
        }
    
        // Scan all locations
        ImmutableSet.Builder<ResourceInfo> builder = ImmutableSet.builder();
        for (LocationInfo location : locations) {
          builder.addAll(location.scanResources(scanned));
        }
        return new ClassPath(builder.build());
      }
    
      /**
       * Returns all resources loadable from the current class path, including the class files of all
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multiset.java

       * 1}, this method has the identical effect to {@link #add(Object)}. This method is functionally
       * equivalent (except in the case of overflow) to the call {@code
       * addAll(Collections.nCopies(element, occurrences))}, which would presumably perform much more
       * poorly.
       *
       * @param element the element to add occurrences of; may be null only if explicitly allowed by the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TreeMultiset.java

      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create(Iterable<? extends E> elements) {
        TreeMultiset<E> multiset = create();
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private final transient Reference<AvlNode<E>> rootReference;
      private final transient GeneralRange<E> range;
      private final transient AvlNode<E> header;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top