Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 858 for element1 (0.05 sec)

  1. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code
       *     expectedSize} elements without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingMultiset.java

      @Override
      public int count(@CheckForNull Object element) {
        return delegate().count(element);
      }
    
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        return delegate().add(element, occurrences);
      }
    
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        return delegate().remove(element, occurrences);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsFilterNavigableSetTest.java

        return Sets.newTreeSet(contents);
      }
    
      @Override
      NavigableSet<Integer> filter(
          NavigableSet<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 16 21:55:55 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

                  protected Set<Integer> delegate() {
                    return backing;
                  }
    
                  @Override
                  public boolean add(Integer element) {
                    checkArgument(element >= 0);
                    return super.add(element);
                  }
    
                  @Override
                  public boolean addAll(Collection<? extends Integer> collection) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         * any of the algorithm name is not supported. The returned collection has equal count of elements as passed in
         * collection of names, and if names contains duplicated elements, the returned list of algorithms will have
         * duplicates as well.
         *
         * @throws ChecksumAlgorithmServiceException if any asked algorithm name is not supported.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java

      }
    
      @Override
      public T create(Object... elements) {
        return generator.create(elements);
      }
    
      @Override
      public E[] createArray(int length) {
        return generator.createArray(length);
      }
    
      @Override
      public T createTestSubject() {
        Collection<E> elements = getSampleElements(getCollectionSize().getNumElements());
        return generator.create(elements.toArray());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

      public static Test suite() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  protected Set<String> create(String[] elements) {
                    return MinimalSet.of(elements);
                  }
                })
            .named("MinimalSet")
            .withFeatures(
                CollectionFeature.ALLOWS_NULL_VALUES, CollectionFeature.NONE, CollectionSize.ANY)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/SetsFilterHashSetTest.java

      @Override
      Set<Integer> createUnfiltered(Iterable<Integer> contents) {
        return newHashSet(contents);
      }
    
      @Override
      Set<Integer> filter(Set<Integer> elements, Predicate<? super Integer> predicate) {
        return Sets.filter(elements, predicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertEquals(
            "multiset.setCount() should return the old count",
            getMultiset().count(element),
            setCount(element, count));
      }
    
      @Override
      void setCountNoCheckReturnValue(E element, int count) {
        setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      private int setCount(E element, int count) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      @Override
      @CheckForNull
      public E lower(E element) {
        return forward.higher(element);
      }
    
      @Override
      @CheckForNull
      public E floor(E element) {
        return forward.ceiling(element);
      }
    
      @Override
      @CheckForNull
      public E ceiling(E element) {
        return forward.floor(element);
      }
    
      @Override
      @CheckForNull
      public E higher(E element) {
        return forward.lower(element);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top