- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 265 for compact (0.16 sec)
-
android/guava/src/com/google/common/primitives/UnsignedInteger.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.primitives.UnsignedInts.INT_MASK; import static com.google.common.primitives.UnsignedInts.compare; import static com.google.common.primitives.UnsignedInts.toLong; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 23 18:45:50 GMT 2023 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
* Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the * first permutation will be in ascending order, and the last will be in descending order. * * <p>Elements that compare equal are considered equal and no new permutations are created by * swapping them. * * <p>An empty iterable has only one permutation, which is an empty list. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 22.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
} @Override public ContiguousSet<C> subSet(C fromElement, C toElement) { checkNotNull(fromElement); checkNotNull(toElement); checkArgument(comparator().compare(fromElement, toElement) <= 0); return subSetImpl(fromElement, true, toElement, false); } /** @since 12.0 */ @GwtIncompatible // NavigableSet @Override public ContiguousSet<C> subSet(
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java
assertEquals(3, ms.size()); } public void testCustomComparator() throws Exception { Comparator<String> comparator = new Comparator<String>() { @Override public int compare(String o1, String o2) { return o2.compareTo(o1); } }; TreeMultiset<String> ms = TreeMultiset.create(comparator); ms.add("b"); ms.add("c"); ms.add("a");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 12.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
Comparator<Number> numberComparator = // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility. new Comparator<Number>() { @Override public int compare(Number a, Number b) { return a.intValue() - b.intValue(); } }; Integer comparand1 = 1; Integer comparand2 = 2;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escaper.java
* implementing new escapers. It is strongly recommended that when implementing a new escaper you * extend one of these classes. If you find that you are unable to achieve the desired behavior * using either of these classes, please contact the Java libraries team for advice. * * <p>Popular escapers are defined as constants in classes like {@link * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 16:02:17 GMT 2021 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java
.<String>nodeOrder(ElementOrder.<String>natural()); ImmutableGraph.Builder<String> immutableGraphBuilder = graphBuilder.immutable(); // Update GraphBuilder, but this shouldn't impact immutableGraphBuilder graphBuilder.allowsSelfLoops(false).nodeOrder(ElementOrder.<String>unordered()); ImmutableGraph<String> emptyGraph = immutableGraphBuilder.build();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jan 09 20:24:43 GMT 2020 - 4.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
<T> void set(@Nonnull Key<T> key, @Nullable T value); /** * Associates the specified session data with the given key if the key is currently mapped to the given value. This * method provides an atomic compare-and-update of some key's value. * * @param key the key under which to store the session data, must not be {@code null} * @param oldValue the expected data currently associated with the key, may be {@code null}
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparatorsTest.java
Comparator<Number> numberComparator = // Can't use Comparator.comparing(Number::intValue) due to Java 7 compatibility. new Comparator<Number>() { @Override public int compare(Number a, Number b) { return a.intValue() - b.intValue(); } }; Integer comparand1 = 1; Integer comparand2 = 2;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Apr 11 08:42:51 GMT 2024 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ElementOrderTest.java
@Test public void customComparator() { Comparator<NonComparableSuperClass> comparator = new Comparator<NonComparableSuperClass>() { @Override public int compare(NonComparableSuperClass left, NonComparableSuperClass right) { return left.value.compareTo(right.value); } }; MutableGraph<NonComparableSuperClass> graph =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.1K bytes - Viewed (0)