Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 924 for Element (0.18 sec)

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

          return Ordering.natural().sortedCopy(insertionOrder);
        }
    
        @Override
        public Set<Integer> create(Object... elements) {
          ImmutableRangeSet.Builder<Integer> builder = ImmutableRangeSet.builder();
          for (Object o : elements) {
            Integer i = (Integer) o;
            builder.add(Range.singleton(i));
          }
          return builder.build().asSet(DiscreteDomain.integers());
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> copyOf(E[] elements) {
        return ImmutableSortedSet.copyOf(elements);
      }
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> copyOf(
          Collection<? extends E> elements) {
        return ImmutableSortedSet.copyOf(elements);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      public void testBuilderAddArrayHandlesNulls() {
        @Nullable String[] elements = new @Nullable String[] {"a", null, "b"};
        ImmutableList.Builder<String> builder = ImmutableList.builder();
        assertThrows(NullPointerException.class, () -> builder.add((String[]) elements));
        ImmutableList<String> result = builder.build();
    
        /*
         * Maybe it rejects all elements, or maybe it adds "a" before failing.
         * Either way is fine with us.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
        fakeTicker.advance(1001, MILLISECONDS);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
                        MutableTypeToInstanceMap<Object> map = new MutableTypeToInstanceMap<>();
                        for (Object object : elements) {
                          Entry<TypeToken, Object> entry = (Entry<TypeToken, Object>) object;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Mas você ainda precisa usar `Path` para o parâmetro de rota `item_id`.
    
    O Python irá acusar se você colocar um elemento com um valor padrão definido antes de outro que não tenha um valor padrão.
    
    Mas você pode reordená-los, colocando primeiro o elemento sem o valor padrão (o parâmetro de consulta `q`).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/package-info.java

    // CHECKSTYLE_OFF: RegexpHeader
    /**
     * This package contains non-functional annotations which are
     * used to tag various elements and help users understanding
     * how those types should be used.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 273 bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

    import javax.inject.Inject;
    import java.io.File;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.Map;
    
    /**
     * Takes a rendered release notes HTML file and decorates it with extra elements/content/links.
     */
    @CacheableTask
    public abstract class DecorateReleaseNotes extends DefaultTask {
        /**
         * The rendered HTML release notes that need decoration.
         */
        @InputFile
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 28 06:35:15 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

            SortedMultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
                      @Override
                      protected Multiset<String> create(String[] elements) {
                        return ImmutableSortedMultiset.copyOf(elements);
                      }
    
                      @Override
                      public List<String> order(List<String> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top