Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for BoundType (0.04 sec)

  1. 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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. 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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. 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));
          }
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. 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.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

          for (BoundType type : BoundType.values()) {
            builder.add(Range.upTo(i, type));
            builder.add(Range.downTo(i, type));
          }
        }
    
        // Add two-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (int j = i + 1; j <= MAX_BOUND; j++) {
            for (BoundType lowerType : BoundType.values()) {
              for (BoundType upperType : BoundType.values()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. 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));
          }
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. 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.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. 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.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java

      }
    
      @Override
      public SortedMultiset<E> headMultiset(E toElement, BoundType boundType) {
        return forwardMultiset().tailMultiset(toElement, boundType).descendingMultiset();
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          E fromElement, BoundType fromBoundType, E toElement, BoundType toBoundType) {
        return forwardMultiset()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DescendingMultiset.java

      public SortedMultiset<E> headMultiset(@ParametricNullness E toElement, BoundType boundType) {
        return forwardMultiset().tailMultiset(toElement, boundType).descendingMultiset();
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          @ParametricNullness E fromElement,
          BoundType fromBoundType,
          @ParametricNullness E toElement,
          BoundType toBoundType) {
        return forwardMultiset()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top