- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for TreeMap (0.06 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
public SafeTreeMap() { this(new TreeMap<K, V>()); } public SafeTreeMap(Comparator<? super K> comparator) { this(new TreeMap<K, V>(comparator)); } public SafeTreeMap(Map<? extends K, ? extends V> map) { this(new TreeMap<K, V>(map)); } public SafeTreeMap(SortedMap<K, ? extends V> map) { this(new TreeMap<K, V>(map)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
public SafeTreeMap() { this(new TreeMap<K, V>()); } public SafeTreeMap(Comparator<? super K> comparator) { this(new TreeMap<K, V>(comparator)); } public SafeTreeMap(Map<? extends K, ? extends V> map) { this(new TreeMap<K, V>(map)); } public SafeTreeMap(SortedMap<K, ? extends V> map) { this(new TreeMap<K, V>(map)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 7.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java
assertEquals("Set contents should match", original, deserialized); } /** * Test serialization of TreeMap */ @Test public void test_serializeDeserialize_treeMap() { TreeMap<String, Integer> original = new TreeMap<>(); original.put("alpha", 1); original.put("beta", 2); original.put("gamma", 3);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.6K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardValueGraph.java
import static com.google.common.graph.GraphConstants.DEFAULT_NODE_COUNT; import static com.google.common.graph.Graphs.checkNonNegative; import java.util.Iterator; import java.util.Map; import java.util.Set; import java.util.TreeMap; import org.jspecify.annotations.Nullable; /** * Standard implementation of {@link ValueGraph} that supports the options supplied by {@link * AbstractGraphBuilder}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(emptyMap(), map); } public void testTreeMap() { TreeMap<Integer, Integer> map = Maps.newTreeMap(); assertEquals(emptyMap(), map); assertThat(map.comparator()).isNull(); } public void testTreeMapDerived() { TreeMap<Derived, Integer> map = Maps.newTreeMap(); assertEquals(emptyMap(), map); map.put(new Derived("foo"), 1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
import static java.util.Objects.requireNonNull; import com.google.common.collect.ImmutableSet; import java.util.Map; import java.util.Set; import java.util.TreeMap; /** * Standard implementation of {@link Network} that supports the options supplied by {@link * NetworkBuilder}. * * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains aCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.SortedMap; import java.util.TreeMap; import java.util.function.BiPredicate; import java.util.stream.Collector; import java.util.stream.Stream; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
* syntax</a>. * * @return a new, empty {@code TreeMap} */ @SuppressWarnings({ "rawtypes", // https://github.com/google/guava/issues/989 "NonApiType", // acts as a direct substitute for a constructor call }) public static <K extends Comparable, V extends @Nullable Object> TreeMap<K, V> newTreeMap() { return new TreeMap<>(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
* syntax</a>. * * @return a new, empty {@code TreeMap} */ @SuppressWarnings({ "rawtypes", // https://github.com/google/guava/issues/989 "NonApiType", // acts as a direct substitute for a constructor call }) public static <K extends Comparable, V extends @Nullable Object> TreeMap<K, V> newTreeMap() { return new TreeMap<>(); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import java.util.Map; import java.util.Map.Entry; import java.util.NavigableMap; import java.util.NavigableSet; import java.util.Set; import java.util.SortedMap; import java.util.SortedSet; import java.util.TreeMap; import java.util.TreeSet; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.TimeUnit; import java.util.regex.MatchResult; import java.util.regex.Pattern; import junit.framework.TestCase;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0)