- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 314 for comparator (0.12 sec)
-
guava/src/com/google/common/collect/AllEqualOrdering.java
final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable { static final AllEqualOrdering INSTANCE = new AllEqualOrdering(); @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(@CheckForNull Object left, @CheckForNull Object right) { return 0; } @Override public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:24:26 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
*/ public static <T extends @Nullable Object> Iterable<T> mergeSorted( final Iterable<? extends Iterable<? extends T>> iterables, final Comparator<? super T> comparator) { checkNotNull(iterables, "iterables"); checkNotNull(comparator, "comparator"); Iterable<T> iterable = new FluentIterable<T>() { @Override public Iterator<T> iterator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
* lesser. For example, {@code [] < [1.0f] < [1.0f, 2.0f] < [2.0f]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(float[], * float[])}. * * @since 2.0 */ public static Comparator<float[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* lesser. For example, {@code [] < [1.0f] < [1.0f, 2.0f] < [2.0f]}. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arrays * support only identity equality), but it is consistent with {@link Arrays#equals(float[], * float[])}. * * @since 2.0 */ public static Comparator<float[]> lexicographicalComparator() { return LexicographicalComparator.INSTANCE; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:52:18 UTC 2024 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Synchronized.java
} @Override SortedSet<E> delegate() { return (SortedSet<E>) super.delegate(); } @Override @CheckForNull public Comparator<? super E> comparator() { synchronized (mutex) { return delegate().comparator(); } } @Override public SortedSet<E> subSet(E fromElement, E toElement) { 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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
return; } cpc.add(md); // // TreeSet<MetadataGraphEdge> deps = new TreeSet<MetadataGraphEdge>( // new Comparator<MetadataGraphEdge>() // { // public int compare( MetadataGraphEdge e1 // , MetadataGraphEdge e2
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (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;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 17K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
import java.io.InputStream; import java.net.Proxy; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 01:47:10 UTC 2024 - 17.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import java.io.InvalidObjectException; import java.io.ObjectInputStream; import java.util.Arrays; import java.util.Comparator; import java.util.Map; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.stream.Collector; import java.util.stream.Collectors; import javax.annotation.CheckForNull;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
public static <T extends @Nullable Object> UnmodifiableIterator<T> mergeSorted( Iterable<? extends Iterator<? extends T>> iterators, Comparator<? super T> comparator) { checkNotNull(iterators, "iterators"); checkNotNull(comparator, "comparator"); return new MergingIterator<>(iterators, comparator); } /** * An iterator that performs a lazy N-way merge, calculating the next value each time the iterator
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.3K bytes - Viewed (0)