Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 858 for element1 (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @Override
        protected List<String> create(String[] elements) {
          ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
          for (int i = 0; i < elements.length; i++) {
            builder.put(elements[i], i);
          }
          return builder.build().keySet().asList();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java

            OneSizeTestContainerGenerator<SetMultimap<K, V>, Entry<K, V>> multimapGenerator) {
          super(multimapGenerator);
        }
    
        @Override
        public Set<Entry<K, V>> create(Object... elements) {
          return (Set<Entry<K, V>>) super.create(elements);
        }
      }
    
      static class MultimapGetGenerator<K, V>
          extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, SetMultimap<K, V>>
          implements TestSetGenerator<V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

              .sampleValues();
        }
    
        @Override
        public Collection<V> create(Object... elements) {
          K k =
              ((TestMultimapGenerator<K, V, M>) multimapGenerator.getInnerGenerator())
                  .sampleKeys()
                  .e0();
          Object[] entries = new Object[elements.length];
          for (int i = 0; i < elements.length; i++) {
            @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

        return new Unhashables();
      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
                        Plugin existing = master.get(key);
                        if (existing != null) {
                            element = mergePlugin(element, existing, sourceDominant, context);
    
                            master.put(key, element);
    
                            if (!pending.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedIterable.java

       */
      Comparator<? super T> comparator();
    
      /**
       * Returns an iterator over elements of type {@code T}. The elements are returned in nondecreasing
       * order according to the associated {@link #comparator}.
       */
      @Override
      Iterator<T> iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 02:13:00 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SortedIterable.java

       */
      Comparator<? super T> comparator();
    
      /**
       * Returns an iterator over elements of type {@code T}. The elements are returned in nondecreasing
       * order according to the associated {@link #comparator}.
       */
      @Override
      Iterator<T> iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 02:13:00 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

        suite.addTest(
            SetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return CompactLinkedHashSet.create(asList(elements));
                      }
                    })
                .named("CompactLinkedHashSet")
                .withFeatures(allFeatures)
                .createTestSuite());
        return suite;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. 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)
Back to top