Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bounds (0.14 sec)

  1. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * contents, such as {@code "[1..100]}"}.
       *
       * @throws IllegalArgumentException if neither this range nor the domain has a lower bound, or if
       *     neither has an upper bound
       */
      public ImmutableSortedSet<C> asSet(DiscreteDomain<C> domain) {
        checkNotNull(domain);
        if (isEmpty()) {
          return ImmutableSortedSet.of();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        /*
         * We keep an array of elements and counts.  Periodically -- when we need more room in the
         * array, or when we're building, or the like -- we sort, deduplicate, and combine the counts.
         * Negative counts indicate a setCount operation with ~counts[i].
         */
    
        private final Comparator<? super E> comparator;
    
        @VisibleForTesting E[] elements;
        private int[] counts;
    
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
Back to top