- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 404 for comparator (0.09 seconds)
-
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} }; } // collect @Generates <T> Comparator<T> generateComparator() { return generateOrdering(); } @Generates <T extends @Nullable Object> Ordering<T> generateOrdering() { return new Ordering<T>() { @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(T left, T right) { return 0; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
} } /** * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose * comparator is not <i>consistent with equals</i>), the results of this method are undefined. * * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
* See the License for the specific language governing permissions and * limitations under the License. */ import java.io.IOException; import java.util.ArrayList; import java.util.Comparator; import java.util.List; import java.util.PriorityQueue; import org.apache.lucene.analysis.Tokenizer; import org.apache.lucene.analysis.synonym.SynonymMap;
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 17K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Tables.java
RowSortedTable<R, ? extends C, ? extends V> table) { /* * It's not ? extends R, because it's technically not covariant in R. Specifically, * table.rowMap().comparator() could return a comparator that only works for the ? extends R. * Collections.unmodifiableSortedMap makes the same distinction. */ return new UnmodifiableRowSortedMap<>(table); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 24.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Tables.java
RowSortedTable<R, ? extends C, ? extends V> table) { /* * It's not ? extends R, because it's technically not covariant in R. Specifically, * table.rowMap().comparator() could return a comparator that only works for the ? extends R. * Collections.unmodifiableSortedMap makes the same distinction. */ return new UnmodifiableRowSortedMap<>(table); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 25.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* equality for both keys and values. This may not be the desired behavior for map implementations * that use non-standard notions of key equality, such as a {@code SortedMap} whose comparator is * not consistent with {@code equals}. * * <p>The {@code standard} methods and the collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
.inOrder(); assertThat(map.values()).containsExactly(2, 1).inOrder(); assertThat(map.comparator()).isNull(); } public void testTreeMapWithComparator() { TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR); assertEquals(emptyMap(), map); assertThat(map.comparator()).isEqualTo(SOME_COMPARATOR); } public void testTreeMapWithInitialMap() {
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-testlib/src/com/google/common/testing/FreshValueGenerator.java
} }; } // collect @Generates <T> Comparator<T> generateComparator() { return generateOrdering(); } @Generates <T extends @Nullable Object> Ordering<T> generateOrdering() { return new Ordering<T>() { @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(T left, T right) { return 0; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 28.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
import com.google.common.testing.SerializableTester; import java.io.Serializable; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.LinkedList; import java.util.List; import java.util.Map;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 39.9K bytes - Click Count (0)