Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 240 for Ordering (0.04 sec)

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

     * a {@link SortedSet}. It cannot hold duplicate key-value pairs; adding a key-value pair that's
     * already in the multimap has no effect. This interface does not specify the ordering of the
     * multimap's keys. See the {@link Multimap} documentation for information common to all multimaps.
     *
     * <p>The {@link #get}, {@link #removeAll}, and {@link #replaceValues} methods each return a {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSetMultimap.java

            mapEntries = Ordering.from(keyComparator).<K>onKeys().immutableSortedCopy(mapEntries);
          }
          return fromMapBuilderEntries(mapEntries, valueComparator);
        }
      }
    
      /**
       * Returns an immutable set multimap containing the same mappings as {@code multimap}. The
       * generated multimap's key and value orderings correspond to the iteration ordering of the {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.Strings;
    import com.google.common.collect.ImmutableSortedMap;
    import com.google.common.collect.Ordering;
    import com.google.common.primitives.UnsignedLong;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for Fingerprint2011.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        putEdge(N2, N1);
        assertThat(graph.outDegree(N1)).isEqualTo(3);
      }
    
      // Stable order tests
    
      // Note: Stable order means that the ordering doesn't change between iterations and versions.
      // Ideally, the ordering in test should never be updated.
      @Test
      public void stableIncidentEdgeOrder_edges_returnsInStableOrder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/FluentIterable.java

       * Returns an {@code ImmutableList} containing all of the elements from this {@code
       * FluentIterable} in the order specified by {@code comparator}. To produce an {@code
       * ImmutableList} sorted by its natural ordering, use {@code toSortedList(Ordering.natural())}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * ImmutableList.copyOf(stream.sorted(comparator).iterator())}, or pass {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FluentIterable.java

       * Returns an {@code ImmutableList} containing all of the elements from this {@code
       * FluentIterable} in the order specified by {@code comparator}. To produce an {@code
       * ImmutableList} sorted by its natural ordering, use {@code toSortedList(Ordering.natural())}.
       *
       * <p><b>{@code Stream} equivalent:</b> pass {@link ImmutableList#toImmutableList} to {@code
       * stream.sorted(comparator).collect()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

      /**
       * Asserts that the collection under test contains exactly the given elements, respecting
       * cardinality but not order. Subclasses may override this method to provide stronger assertions,
       * e.g., to check ordering in lists, but realize that <strong>unless a test extends {@link
       * com.google.common.collect.testing.testers.AbstractListTester AbstractListTester}, a call to
       * {@code expectContents()} invokes this version</strong>.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.testing.AnEnum;
    import com.google.common.collect.testing.SampleElements;
    import com.google.common.collect.testing.TestEnumMapGenerator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

     * or its views. The {@link #erase} and {@link #eraseAll} methods may be used instead.
     *
     * <p>The ordering of the row and column keys provided when the table is constructed determines the
     * iteration ordering across rows and columns in the table's views. None of the view iterators
     * support {@link Iterator#remove}. If the table is modified after an iterator is created, the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularContiguousSet.java

        checkNotNull(other);
        checkArgument(this.domain.equals(other.domain));
        if (other.isEmpty()) {
          return other;
        } else {
          C lowerEndpoint = Ordering.<C>natural().max(this.first(), other.first());
          C upperEndpoint = Ordering.<C>natural().min(this.last(), other.last());
          return (lowerEndpoint.compareTo(upperEndpoint) <= 0)
              ? ContiguousSet.create(Range.closed(lowerEndpoint, upperEndpoint), domain)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top