- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for firstSep (0.06 sec)
-
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
TreeMultimap<String, Integer> multimap = createPopulate(); SortedMap<String, Collection<Integer>> asMap = multimap.asMap(); assertEquals(Ordering.natural(), asMap.comparator()); assertEquals("foo", asMap.firstKey()); assertEquals("tree", asMap.lastKey()); Set<Integer> fooValues = ImmutableSet.of(1, 3, 7); Set<Integer> googleValues = ImmutableSet.of(2, 6); Set<Integer> treeValues = ImmutableSet.of(4, 0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
@Override @CheckForNull public Comparator<? super K> comparator() { return fromMap().comparator(); } @Override @ParametricNullness public K firstKey() { return fromMap().firstKey(); } @Override public SortedMap<K, V2> headMap(@ParametricNullness K toKey) { return transformEntries(fromMap().headMap(toKey), transformer); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
@Override @CheckForNull public Comparator<? super K> comparator() { return fromMap().comparator(); } @Override @ParametricNullness public K firstKey() { return fromMap().firstKey(); } @Override public SortedMap<K, V2> headMap(@ParametricNullness K toKey) { return transformEntries(fromMap().headMap(toKey), transformer); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
} public void testRowMapFirstKey() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSame("bar", sortedTable.rowMap().firstKey()); } public void testRowMapLastKey() { sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertSame("foo", sortedTable.rowMap().lastKey()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Synchronized.java
public Comparator<? super K> comparator() { synchronized (mutex) { return delegate().comparator(); } } @Override public K firstKey() { synchronized (mutex) { return delegate().firstKey(); } } @Override public SortedMap<K, V> headMap(K toKey) { synchronized (mutex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
public Comparator<? super K> comparator() { synchronized (mutex) { return delegate().comparator(); } } @Override public K firstKey() { synchronized (mutex) { return delegate().firstKey(); } } @Override public SortedMap<K, V> headMap(K toKey) { synchronized (mutex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 57.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
replica.put(newValue, new AtomicInteger(1)); } } private static void removeMinFromReplica( SortedMap<Integer, AtomicInteger> replica, int minValue) { Integer replicatedMinValue = replica.firstKey(); assertEquals(replicatedMinValue, (Integer) minValue); removeFromReplica(replica, replicatedMinValue); } private static void removeMaxFromReplica(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
replica.put(newValue, new AtomicInteger(1)); } } private static void removeMinFromReplica( SortedMap<Integer, AtomicInteger> replica, int minValue) { Integer replicatedMinValue = replica.firstKey(); assertEquals(replicatedMinValue, (Integer) minValue); removeFromReplica(replica, replicatedMinValue); } private static void removeMaxFromReplica(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
*/ @Override public Comparator<? super K> comparator() { return keySet().comparator(); } @Override public K firstKey() { return keySet().first(); } @Override public K lastKey() { return keySet().last(); } private ImmutableSortedMap<K, V> getSubMap(int fromIndex, int toIndex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
*/ @Override public Comparator<? super K> comparator() { return keySet().comparator(); } @Override public K firstKey() { return keySet().first(); } @Override public K lastKey() { return keySet().last(); } private ImmutableSortedMap<K, V> getSubMap(int fromIndex, int toIndex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 53K bytes - Viewed (0)