- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 120 for SortedMap (0.2 sec)
-
guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
.testForwarding( SortedMap.class, new Function<SortedMap, SortedMap>() { @Override public SortedMap apply(SortedMap delegate) { return wrap(delegate); } }); } public void testEquals() { SortedMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
@Override protected SortedMap<String, Integer> makeEmptyMap() { return new SimpleForwardingSortedMap<>( new TreeMap<String, Integer>(Ordering.<String>natural().nullsFirst())); } @Override protected SortedMap<String, Integer> makePopulatedMap() { final SortedMap<String, Integer> sortedMap = makeEmptyMap(); sortedMap.put("one", 1); sortedMap.put("two", 2); sortedMap.put("three", 3);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeBasedTable.java
* returns a {@link SortedMap}, instead of the {@link Map} specified in the {@link Table} * interface. * * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility" >mostly * source-compatible</a> since 7.0) */ @Override public SortedMap<C, V> row(R rowKey) { return new TreeRow(rowKey); } private class TreeRow extends Row implements SortedMap<C, V> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 11.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
extends ForwardingMap<K, V> implements SortedMap<K, V> { // TODO(lowasser): identify places where thread safety is actually lost /** Constructor for use by subclasses. */ protected ForwardingSortedMap() {} @Override protected abstract SortedMap<K, V> delegate(); @Override @CheckForNull public Comparator<? super K> comparator() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri May 12 15:26:39 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return SortedMapTestSuiteBuilder.using( new TestStringSortedMapGenerator() { @Override protected SortedMap<String, String> create(Entry<String, String>[] entries) { SortedMap<String, String> map = populate(new TreeMap<String, String>(), entries); return Collections.checkedSortedMap(map, String.class, String.class); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 17K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java
import com.google.common.collect.testing.SortedMapInterfaceTest; import java.util.SortedMap; @GwtCompatible public class TreeBasedTableRowMapInterfaceTest extends SortedMapInterfaceTest<String, String> { public TreeBasedTableRowMapInterfaceTest() { super(false, false, true, true, true); } @Override protected SortedMap<String, String> makeEmptyMap() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 29 15:15:31 GMT 2022 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) { super(delegate, to, from); } @Override NavigableMap<K, V> createSubMap(SortedMap<K, V> sortedMap, K firstExclusive, K lastExclusive) { NavigableMap<K, V> map = (NavigableMap<K, V>) sortedMap; if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) { return map.headMap(lastInclusive, true);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMapTest.java
.testForwarding( SortedMap.class, new Function<SortedMap, SortedMap>() { @Override public SortedMap apply(SortedMap delegate) { return wrap(delegate); } }); } public void testEquals() { SortedMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one");
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 7.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
import com.google.common.testing.SerializableTester; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.NavigableMap; import java.util.SortedMap; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Tests for SafeTreeMap. * * @author Louis Wasserman */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Mar 18 18:06:40 GMT 2022 - 4.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
import com.google.common.annotations.GwtCompatible; import java.util.Iterator; import java.util.Map.Entry; import java.util.SortedMap; /** * Tests representing the contract of {@link SortedMap}. Concrete subclasses of this base class test * conformance of concrete {@link SortedMap} subclasses to that contract. * * @author Jared Levy */ // TODO: Use this class to test classes besides ImmutableSortedMap.
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)