- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 84 for RANGE (0.14 sec)
-
android/guava/src/com/google/common/collect/RangeMap.java
/** * Returns the range containing this key and its associated value, if such a range is present in * the range map, or {@code null} otherwise. */ @CheckForNull Entry<Range<K>, V> getEntry(K key); /** * Returns the minimal range {@linkplain Range#encloses(Range) enclosing} the ranges in this * {@code RangeMap}. * * @throws NoSuchElementException if this range map is empty */ Range<K> span(); /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
extends AbstractMapEntry<Range<K>, V> { private final Range<K> range; private final V value; RangeMapEntry(Cut<K> lowerBound, Cut<K> upperBound, V value) { this(Range.create(lowerBound, upperBound), value); } RangeMapEntry(Range<K> range, V value) { this.range = range; this.value = value; } @Override public Range<K> getKey() { return range; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 21.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
* Range#contains contained} by the range. * * @throws IllegalArgumentException if neither range nor the domain has a lower bound, or if * neither has an upper bound * @since 13.0 */ public static <C extends Comparable> ContiguousSet<C> create( Range<C> range, DiscreteDomain<C> domain) { checkNotNull(range); checkNotNull(domain);
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/src/com/google/common/collect/TopKSelector.java
private final int k; private final Comparator<? super T> comparator; /* * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates * for the top k elements. Whenever the buffer is filled, we quickselect the top k elements to the * range [0, k) and ignore the remaining elements. */ private final @Nullable T[] buffer; private int bufferSize; /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/GeneralRange.java
/** Converts a Range to a GeneralRange. */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 static <T extends Comparable> GeneralRange<T> from(Range<T> range) { T lowerEndpoint = range.hasLowerBound() ? range.lowerEndpoint() : null; BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN; T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractRangeSet.java
} @Override @CheckForNull public abstract Range<C> rangeContaining(C value); @Override public boolean isEmpty() { return asRanges().isEmpty(); } @Override public void add(Range<C> range) { throw new UnsupportedOperationException(); } @Override public void remove(Range<C> range) { throw new UnsupportedOperationException(); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* * <h3>Only {@code %s} is supported</h3> * * <p>{@code Preconditions} uses {@link Strings#lenientFormat} to format error message template * strings. This only supports the {@code "%s"} specifier, not the full range of {@link * java.util.Formatter} specifiers. However, note that if the number of arguments does not match the * number of occurrences of {@code "%s"} in the format string, {@code Preconditions} will still
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 11 11:52:14 GMT 2024 - 52.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java
protected char[] escapeUnsafe(char c) { return noChars; } }; EscaperAsserts.assertBasic(deletingEscaper); assertEquals( "Everything outside the printable ASCII range is deleted.", deletingEscaper.escape( "\tEverything\0 outside the\uD800\uDC00 " + "printable ASCII \uFFFFrange is \u007Fdeleted.\n")); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 23:02:38 GMT 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
// Compare to: "\u00c1".equalsIgnoreCase("\u00e1") == true assertFalse(Ascii.equalsIgnoreCase("\u00c1", "\u00e1")); // Test chars just outside the alphabetic range ('A'-1 vs 'a'-1, 'Z'+1 vs 'z'+1) assertFalse(Ascii.equalsIgnoreCase("@", "`")); assertFalse(Ascii.equalsIgnoreCase("[", "{")); } @GwtIncompatible // String.toUpperCase() has browser semantics
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
*/ for (int i = 0; i < elements.size() - 1; i++) { assertEquals(elements.get(i) + 1, (int) elements.get(i + 1)); } Range<Integer> range = elements.isEmpty() ? Range.closedOpen(0, 0) : Range.encloseAll(elements); return ContiguousSet.create(range, DiscreteDomain.integers()); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 15.5K bytes - Viewed (0)