- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 62 for BoundType (0.1 seconds)
-
guava/src/com/google/common/collect/BoundType.java
* @since 10.0 */ @GwtCompatible public enum BoundType { /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */ OPEN(false), CLOSED(true); final boolean inclusive; BoundType(boolean inclusive) { this.inclusive = inclusive; } /** Returns the bound type corresponding to a boolean value for inclusivity. */ static BoundType forBoolean(boolean inclusive) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/BoundType.java
* @since 10.0 */ @GwtCompatible public enum BoundType { /** The endpoint value <i>is not</i> considered part of the set ("exclusive"). */ OPEN(false), CLOSED(true); final boolean inclusive; BoundType(boolean inclusive) { this.inclusive = inclusive; } /** Returns the bound type corresponding to a boolean value for inclusivity. */ static BoundType forBoolean(boolean inclusive) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Cut.java
} @Override BoundType typeAsLowerBound() { return BoundType.CLOSED; } @Override BoundType typeAsUpperBound() { return BoundType.OPEN; } @Override Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) { switch (boundType) { case CLOSED: return this; case OPEN:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 12.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/GeneralRange.java
* endpoint behavior. */ static <T extends @Nullable Object> GeneralRange<T> downTo( Comparator<? super T> comparator, @ParametricNullness T endpoint, BoundType boundType) { return new GeneralRange<>(comparator, true, endpoint, boundType, false, null, OPEN); } /** * Returns everything below the endpoint relative to the specified comparator, with the specified * endpoint behavior. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
/** * A sensible definition of {@link #subMultiset(Object, BoundType, Object, BoundType)} in terms of * {@link #headMultiset(Object, BoundType) headMultiset} and {@link #tailMultiset(Object, * BoundType) tailMultiset}. * * <p>If you override either of these methods, you may wish to override {@link * #subMultiset(Object, BoundType, Object, BoundType)} to forward to this implementation. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
} /** * A sensible definition of {@link #subMultiset(Object, BoundType, Object, BoundType)} in terms of * {@link #headMultiset(Object, BoundType) headMultiset} and {@link #tailMultiset(Object, * BoundType) tailMultiset}. * * <p>If you override either of these methods, you may wish to override {@link * #subMultiset(Object, BoundType, Object, BoundType)} to forward to this implementation. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SortedMultiset.java
SortedMultiset<E> descendingMultiset(); SortedMultiset<E> headMultiset(E upperBound, BoundType boundType); SortedMultiset<E> subMultiset( E lowerBound, BoundType lowerBoundType, E upperBound, BoundType upperBoundType); SortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java
unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5)); public void testCreateEmptyRangeFails() { for (BoundType lboundType : BoundType.values()) { for (BoundType uboundType : BoundType.values()) { assertThrows( IllegalArgumentException.class, () -> GeneralRange.range(ORDERING, 4, lboundType, 2, uboundType)); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
public ImmutableSortedMultiset<E> headMultiset(E upperBound, BoundType boundType) { return getSubMultiset(0, elementSet.headIndex(upperBound, checkNotNull(boundType) == CLOSED)); } @Override public ImmutableSortedMultiset<E> tailMultiset(E lowerBound, BoundType boundType) { return getSubMultiset( elementSet.tailIndex(lowerBound, checkNotNull(boundType) == CLOSED), length); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SortedMultiset.java
* * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add * elements outside its range. */ SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType); /** * Returns a view of this multiset restricted to the range between {@code lowerBound} and {@code * upperBound}. The returned multiset is a view of this multiset, so changes to one will beCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.4K bytes - Click Count (0)