- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 361 for Sorted (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public static class Chars extends SampleElements<Character> { public Chars() { // elements aren't sorted, to better test SortedSet iteration ordering super('b', 'a', 'c', 'd', 'e'); } } public static class Enums extends SampleElements<AnEnum> { public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
Comparator<? super E> comparator, Collection<? extends E> elements) { return copyOf(comparator, (Iterable<? extends E>) elements); } /** * Returns an immutable sorted set containing the elements of a sorted set, sorted by the same * {@code Comparator}. That behavior differs from {@link #copyOf(Iterable)}, which always uses the * natural ordering of the elements. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PopularWordHelper.java
stream(tags).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); buf.append(CACHE_KEY_SPLITTER); stream(roles).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v))); buf.append(CACHE_KEY_SPLITTER); stream(fields).of(stream -> stream.sorted().reduce((l, r) -> l + r).ifPresent(v -> buf.append(v)));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java
this.sorter = new ProjectSorter(projects); this.order = new HashMap<>(); this.projects = new HashMap<>(); List<MavenProject> sorted = this.sorter.getSortedProjects(); for (int index = 0; index < sorted.size(); index++) { MavenProject project = sorted.get(index); String id = ProjectSorter.getId(project);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
* <li>SORTED: ordering according to a supplied comparator is guaranteed. * </ul> */ public enum Type { UNORDERED, STABLE, INSERTION, SORTED } private ElementOrder(Type type, @CheckForNull Comparator<T> comparator) { this.type = checkNotNull(type); this.comparator = comparator; checkState((type == Type.SORTED) == (comparator != null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
* <li>SORTED: ordering according to a supplied comparator is guaranteed. * </ul> */ public enum Type { UNORDERED, STABLE, INSERTION, SORTED } private ElementOrder(Type type, @CheckForNull Comparator<T> comparator) { this.type = checkNotNull(type); this.comparator = comparator; checkState((type == Type.SORTED) == (comparator != null)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
bin/diff_yaml.py
changed = 0 for k in sorted(common): if q0[k] != q1[k]: changed += 1 print("## +++ ", args.new) print("## --- ", args.orig) print("## Added:", len(added)) print("## Removed:", len(removed)) print("## Updated:", changed) print("## Unchanged:", len(common) - changed) for k in sorted(added): print("+", k)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Mar 03 16:14:57 UTC 2021 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public static class Chars extends SampleElements<Character> { public Chars() { // elements aren't sorted, to better test SortedSet iteration ordering super('b', 'a', 'c', 'd', 'e'); } } public static class Enums extends SampleElements<AnEnum> { public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Basic implementation of the {@link SortedSetMultimap} interface. It's a wrapper around {@link * AbstractMapBasedMultimap} that converts the returned collections into sorted sets. The {@link * #createCollection} method must return a {@code SortedSet}. * * @author Jared Levy */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
import java.util.SortedMap; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A sorted map which forwards all its method calls to another sorted map. Subclasses should * override one or more methods to modify the behavior of the backing sorted map as desired per the * <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0)