- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for keyComparator (0.2 sec)
-
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
assertSame(Ordering.natural(), copyFromSorted.keyComparator()); assertSame(Ordering.natural(), copyFromSorted.valueComparator()); assertSame(Ordering.natural(), copyFromSorted.get(1.0).comparator()); } public void testComparators() { TreeMultimap<String, Integer> multimap = TreeMultimap.create(); assertEquals(Ordering.natural(), multimap.keyComparator());
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-testlib/src/com/google/common/collect/testing/Helpers.java
final @Nullable Comparator<? super K> keyComparator; public EntryComparator(@Nullable Comparator<? super K> keyComparator) { this.keyComparator = keyComparator; } @Override @SuppressWarnings("unchecked") // no less safe than putting it in the map! public int compare(Entry<K, V> a, Entry<K, V> b) { return (keyComparator == null)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
final @Nullable Comparator<? super K> keyComparator; public EntryComparator(@Nullable Comparator<? super K> keyComparator) { this.keyComparator = keyComparator; } @Override @SuppressWarnings("unchecked") // no less safe than putting it in the map! public int compare(Entry<K, V> a, Entry<K, V> b) { return (keyComparator == null)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedLists.java
List<E> list, Function<? super E, K> keyFunction, @ParametricNullness K key, Comparator<? super K> keyComparator, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) { return binarySearch( transform(list, keyFunction), key, keyComparator, presentBehavior, absentBehavior); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* Specifies the ordering of the generated multimap's keys. * * @since 8.0 */ @CanIgnoreReturnValue public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { this.keyComparator = checkNotNull(keyComparator); return this; } /** * Specifies the ordering of the generated multimap's values for each key. * * @since 8.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** * {@inheritDoc} * * @since 8.0 */ @CanIgnoreReturnValue @Override public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { super.orderKeysBy(keyComparator); return this; } /** * Specifies the ordering of the generated multimap's values for each key. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 25.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** * {@inheritDoc} * * @since 8.0 */ @CanIgnoreReturnValue @Override public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { super.orderKeysBy(keyComparator); return this; } /** * Specifies the ordering of the generated multimap's values for each key. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 26.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedLists.java
List<E> list, Function<? super E, K> keyFunction, @ParametricNullness K key, Comparator<? super K> keyComparator, KeyPresentBehavior presentBehavior, KeyAbsentBehavior absentBehavior) { return binarySearch( transform(list, keyFunction), key, keyComparator, presentBehavior, absentBehavior); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
} /** * {@inheritDoc} * * @since 8.0 */ @CanIgnoreReturnValue @Override public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { super.orderKeysBy(keyComparator); return this; } /** * {@inheritDoc} * * @since 8.0 */ @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 20:20:32 UTC 2024 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
} /** * {@inheritDoc} * * @since 8.0 */ @CanIgnoreReturnValue @Override public Builder<K, V> orderKeysBy(Comparator<? super K> keyComparator) { super.orderKeysBy(keyComparator); return this; } /** * {@inheritDoc} * * @since 8.0 */ @CanIgnoreReturnValue @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 19.3K bytes - Viewed (0)