- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for Ints (0.05 sec)
-
android/guava/src/com/google/common/primitives/Ints.java
* * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Ints extends IntsMethodsForWeb { private Ints() {} /** * The number of bytes required to represent a primitive {@code int} value. * * <p><b>Java 8+ users:</b> use {@link Integer#BYTES} instead. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 31K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashing.java
*/ package com.google.common.collect; import static java.lang.Math.max; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Objects; import com.google.common.primitives.Ints; import java.util.Arrays; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Helper classes and static methods for implementing compact hash-based collections. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
public void testIteratorMinAndMax() { List<Integer> ints = Lists.newArrayList(5, 3, 0, 9); assertEquals(9, (int) numberOrdering.max(ints.iterator())); assertEquals(0, (int) numberOrdering.min(ints.iterator())); // when the values are the same, the first argument should be returned Integer a = new Integer(4); Integer b = new Integer(4); ints = Lists.newArrayList(a, b, b);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
public void testIteratorMinAndMax() { List<Integer> ints = Lists.newArrayList(5, 3, 0, 9); assertEquals(9, (int) numberOrdering.max(ints.iterator())); assertEquals(0, (int) numberOrdering.min(ints.iterator())); // when the values are the same, the first argument should be returned Integer a = new Integer(4); Integer b = new Integer(4); ints = Lists.newArrayList(a, b, b);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
*/ package com.google.common.collect; import static java.lang.Math.max; import com.google.common.annotations.GwtIncompatible; import com.google.common.base.Objects; import com.google.common.primitives.Ints; import java.util.Arrays; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Helper classes and static methods for implementing compact hash-based collections. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E); } } public static class Ints extends SampleElements<Integer> { public Ints() { // elements aren't sorted, to better test SortedSet iteration ordering super(1, 0, 2, 3, 4); } } public static <K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
public Enums() { // elements aren't sorted, to better test SortedSet iteration ordering super(AnEnum.B, AnEnum.A, AnEnum.C, AnEnum.D, AnEnum.E); } } public static class Ints extends SampleElements<Integer> { public Ints() { // elements aren't sorted, to better test SortedSet iteration ordering super(1, 0, 2, 3, 4); } } public static <K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
import static com.google.common.collect.Lists.transform; import static java.lang.Math.min; import com.google.common.base.Function; import com.google.common.primitives.Ints; import java.util.List; import java.util.Random; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* #toString} behavior you expect. * <li>Offers useful operations beyond just {@code get} and {@code length}, so you don't have to * hunt through classes like {@link Arrays} and {@link Ints} for them. * <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to * add overloads that accept start and end indexes.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 18:05:56 UTC 2024 - 21.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Ordering; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.Comparator; import java.util.LinkedHashSet; import java.util.List; import java.util.Set;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 12.5K bytes - Viewed (0)