Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 453 for Iterables (0.07 sec)

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

        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
          return new Ordering<Entry<String, Integer>>() {
            @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. .teamcity/src/main/kotlin/configurations/StageTriggers.kt

    fun osSuffix(os: Os?) = os?.asName()?.plus("_") ?: ""
    
    fun <T : BaseGradleBuildType> Dependencies.snapshotDependencies(
        buildTypes: Iterable<T>,
        snapshotConfig: SnapshotDependency.(T) -> Unit = {}
    ) {
        buildTypes.forEach { buildType ->
            dependency(buildType.id!!) {
                snapshot {
                    if (!buildType.failStage) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 06 08:08:13 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

                          multimap.put(entry.getKey(), entry.getValue());
                        }
                        return multimap;
                      }
    
                      @Override
                      public Iterable<Entry<String, String>> order(
                          List<Entry<String, String>> insertionOrder) {
                        return new Ordering<Entry<String, String>>() {
                          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

     * A container class for the five sample elements we need for testing.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
      // TODO: rename e3, e4 => missing1, missing2
      private final E e0;
      private final E e1;
      private final E e2;
      private final E e3;
      private final E e4;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java

        public NavigableMap<K, V> create(Object... entries) {
          NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries);
          return map.descendingMap();
        }
    
        @Override
        public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) {
          insertionOrder = castOrCopyToList(delegate.order(insertionOrder));
          reverse(insertionOrder);
          return insertionOrder;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * Multimap} interface.
       *
       * <p>Any duplicates in {@code values} will be stored in the multimap once.
       */
      @CanIgnoreReturnValue
      @Override
      public SortedSet<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (SortedSet<V>) super.replaceValues(key, values);
      }
    
      /**
       * Returns a map view that associates each key with the corresponding values in the multimap.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

         *
         * <p>Visible for testing.</p>
         */
        class Implementation(private val excludes: List<String>, private val includes: List<String>) {
            fun collectPackages(files: Iterable<Path>): Trie {
                val builder = Trie.Builder()
                for (file in files) {
                    if (Files.exists(file)) {
                        if (file.fileName.toString().endsWith(".jar")) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, Integer>[] createArray(int length) {
          return (Entry<String, Integer>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<String, Integer>> order(List<Entry<String, Integer>> insertionOrder) {
          return new Ordering<Entry<String, Integer>>() {
            @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)
  10. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top