Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 924 for Elements (0.12 sec)

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

    /**
     * Creates sorted sets, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSortedSetGenerator<E extends @Nullable Object> extends TestSetGenerator<E> {
      @Override
      SortedSet<E> create(Object... elements);
    
      /**
       * Returns an element less than the {@link #samples()} and less than {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Chars.java

        }
        return array;
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(char[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Shorts.java

          return "Shorts.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(short[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Shorts.java

          return "Shorts.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(short[] array) {
        checkNotNull(array);
        sortDescending(array, 0, array.length);
      }
    
      /**
       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
     * iterator should return in order.
     *
     * <p>The items in {@code elementsToInsert} will be repeated if {@code steps} is larger than the
     * number of provided elements.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

            OneSizeTestContainerGenerator<ListMultimap<K, V>, Entry<K, V>> multimapGenerator) {
          super(multimapGenerator);
        }
    
        @Override
        public List<V> create(Object... elements) {
          return (List<V>) super.create(elements);
        }
      }
    
      private static class MultimapAsMapGetGenerator<K, V>
          extends MultimapTestSuiteBuilder.MultimapAsMapGetGenerator<K, V, ListMultimap<K, V>>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ByFunctionOrdering.java

    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An ordering that orders elements by applying an order to the result of a function on those
     * elements.
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class ByFunctionOrdering<F extends @Nullable Object, T extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/PredecessorsFunction.java

       *       href="https://github.com/google/guava/wiki/GraphsExplained#graph-elements-nodes-and-edges">
       *       graph elements</a> for details)
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this graph
       */
      Iterable<? extends N> predecessors(N node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equal(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.get(element);
          if (frequency == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

                    new TestStringCollectionGenerator() {
                      @Override
                      protected Collection<String> create(String[] elements) {
                        return new StandardImplForwardingCollection<>(
                            Lists.newLinkedList(asList(elements)));
                      }
                    })
                .named("ForwardingCollection[LinkedList] with standard implementations")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
Back to top