Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for ImmutableSortedMap (0.18 sec)

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

        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return SerializableTester.reserialize(ImmutableSortedMap.of("one", 1, "two", 2, "three", 3));
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapHeadMapInclusiveMapInterfaceTest.java

    public class ImmutableSortedMapHeadMapInclusiveMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).headMap("c", true);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "d";
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapSubMapMapInterfaceTest.java

    @GwtCompatible
    public class ImmutableSortedMapSubMapMapInterfaceTest
        extends AbstractImmutableSortedMapMapInterfaceTest<String, Integer> {
      @Override
      protected SortedMap<String, Integer> makePopulatedMap() {
        return ImmutableSortedMap.of("a", 1, "b", 2, "c", 3, "d", 4, "e", 5).subMap("b", "d");
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "a";
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 17 01:34:55 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

     * conformance of concrete {@link SortedMap} subclasses to that contract.
     *
     * @author Jared Levy
     */
    // TODO: Use this class to test classes besides ImmutableSortedMap.
    @GwtCompatible
    public abstract class SortedMapInterfaceTest<K, V> extends MapInterfaceTest<K, V> {
    
      protected SortedMapInterfaceTest(
          boolean allowsNullKeys,
          boolean allowsNullValues,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

     * conformance of concrete {@link SortedMap} subclasses to that contract.
     *
     * @author Jared Levy
     */
    // TODO: Use this class to test classes besides ImmutableSortedMap.
    @GwtCompatible
    public abstract class SortedMapInterfaceTest<K, V> extends MapInterfaceTest<K, V> {
    
      protected SortedMapInterfaceTest(
          boolean allowsNullKeys,
          boolean allowsNullValues,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ImmutableGraph.java

          Graph<N> graph) {
        // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have
        // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, GraphConnections<N, Presence>> nodeConnections = ImmutableMap.builder();
        for (N node : graph.nodes()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

          ValueGraph<N, V> graph) {
        // ImmutableMap.Builder maintains the order of the elements as inserted, so the map will have
        // whatever ordering the graph's nodes do, so ImmutableSortedMap is unnecessary even if the
        // input nodes are sorted.
        ImmutableMap.Builder<N, GraphConnections<N, V>> nodeConnections = ImmutableMap.builder();
        for (N node : graph.nodes()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.7K bytes
    - Viewed (0)
Back to top