- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 66 for nonempty (0.13 sec)
-
android/guava/src/com/google/common/collect/ContiguousSet.java
} return empty ? new EmptyContiguousSet<C>(domain) : new RegularContiguousSet<C>(effectiveRange, domain); } /** * Returns a nonempty contiguous set containing all {@code int} values from {@code lower} * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code * Range.closed(lower, upper)}.) *
Registered: 2024-11-01 12:43 - Last Modified: 2023-11-30 21:54 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java
// should be unequal to empty. public void testEquals() { TreeRangeMap<Integer, Integer> empty = TreeRangeMap.create(); TreeRangeMap<Integer, Integer> nonEmpty = TreeRangeMap.create(); nonEmpty.put(Range.all(), 1); TreeRangeMap<Integer, Integer> coalesced = TreeRangeMap.create(); coalesced.put(Range.atLeast(1), 1); coalesced.putCoalescing(Range.atMost(1), 1);
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-06 13:04 - 29.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
*/ public static int compare(byte a, byte b) { return Byte.compare(a, b); } /** * Returns the least value present in {@code array}. * * @param array a <i>nonempty</i> array of {@code byte} values * @return the value present in {@code array} that is less than or equal to every other value in * the array * @throws IllegalArgumentException if {@code array} is empty */
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-17 13:00 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
} return empty ? new EmptyContiguousSet<C>(domain) : new RegularContiguousSet<C>(effectiveRange, domain); } /** * Returns a nonempty contiguous set containing all {@code int} values from {@code lower} * (inclusive) to {@code upper} (inclusive). (These are the same values contained in {@code * Range.closed(lower, upper)}.) *
Registered: 2024-11-01 12:43 - Last Modified: 2023-11-30 21:54 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMultimap.java
@Override public boolean putAll(@ParametricNullness K key, Iterable<? extends V> values) { checkNotNull(values); // make sure we only call values.iterator() once // and we only call get(key) if values is nonempty if (values instanceof Collection) { Collection<? extends V> valueCollection = (Collection<? extends V>) values; return !valueCollection.isEmpty() && get(key).addAll(valueCollection); } else {
Registered: 2024-11-01 12:43 - Last Modified: 2021-06-15 21:08 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
public static int compare(long a, long b) { return Longs.compare(flip(a), flip(b)); } /** * Returns the least value present in {@code array}, treating values as unsigned. * * @param array a <i>nonempty</i> array of unsigned {@code long} values * @return the value present in {@code array} that is less than or equal to every other value in * the array according to {@link #compare}
Registered: 2024-11-01 12:43 - Last Modified: 2024-08-12 21:04 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
return -1; } else { return (int) value; } } /** * Returns the least value present in {@code array}, treating values as unsigned. * * @param array a <i>nonempty</i> array of unsigned {@code int} values * @return the value present in {@code array} that is less than or equal to every other value in * the array according to {@link #compare}
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 21:17 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInts.java
return -1; } else { return (int) value; } } /** * Returns the least value present in {@code array}, treating values as unsigned. * * @param array a <i>nonempty</i> array of unsigned {@code int} values * @return the value present in {@code array} that is less than or equal to every other value in * the array according to {@link #compare}
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 21:17 - 13.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
import java.util.Collection; import java.util.Map; import java.util.Map.Entry; import java.util.NoSuchElementException; import javax.annotation.CheckForNull; /** * A mapping from disjoint nonempty ranges to non-null values. Queries look up the value associated * with the range (if any) that contains a specified key. * * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
Registered: 2024-11-01 12:43 - Last Modified: 2024-02-22 21:19 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
public ImmutableRangeSet<C> difference(RangeSet<C> other) { RangeSet<C> copy = TreeRangeSet.create(this); copy.removeAll(other); return copyOf(copy); } /** * Returns a list containing the nonempty intersections of {@code range} with the ranges in this * range set. */ private ImmutableList<Range<C>> intersectRanges(final Range<C> range) { if (ranges.isEmpty() || range.isEmpty()) {
Registered: 2024-11-01 12:43 - Last Modified: 2024-10-30 16:15 - 27K bytes - Viewed (0)