Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DiscreteDomain (0.11 sec)

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

      abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
    
      abstract Cut<C> withUpperBoundType(BoundType boundType, DiscreteDomain<C> domain);
    
      abstract void describeAsLowerBound(StringBuilder sb);
    
      abstract void describeAsUpperBound(StringBuilder sb);
    
      @CheckForNull
      abstract C leastValueAbove(DiscreteDomain<C> domain);
    
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Cut.java

      abstract Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain);
    
      abstract Cut<C> withUpperBoundType(BoundType boundType, DiscreteDomain<C> domain);
    
      abstract void describeAsLowerBound(StringBuilder sb);
    
      abstract void describeAsUpperBound(StringBuilder sb);
    
      @CheckForNull
      abstract C leastValueAbove(DiscreteDomain<C> domain);
    
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          }
          return builder.build().asSet(DiscreteDomain.bigIntegers());
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(ImmutableRangeSetTest.class);
        suite.addTest(
            NavigableSetTestSuiteBuilder.using(new ImmutableRangeSetIntegerAsSetGenerator())
                .named("ImmutableRangeSet.asSet[DiscreteDomain.integers[]]")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableRangeSet.java

          throw new IllegalArgumentException(
              "Neither the DiscreteDomain nor this range set are bounded below");
        } else if (!span.hasUpperBound()) {
          try {
            domain.maxValue();
          } catch (NoSuchElementException e) {
            throw new IllegalArgumentException(
                "Neither the DiscreteDomain nor this range set are bounded above");
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import junit.framework.TestSuite;
    
    /**
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    public class ContiguousSetTest extends TestCase {
      private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS =
          new DiscreteDomain<Integer>() {
            @Override
            public Integer next(Integer value) {
              return integers().next(value);
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ContiguousSet;
    import com.google.common.collect.DiscreteDomain;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import junit.framework.TestSuite;
    
    /**
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    public class ContiguousSetTest extends TestCase {
      private static final DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS =
          new DiscreteDomain<Integer>() {
            @Override
            public Integer next(Integer value) {
              return integers().next(value);
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ContiguousSet;
    import com.google.common.collect.DiscreteDomain;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.ImmutableSortedSet;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Ordering;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/RangeTest.java

      public void testLegacyComparable() {
        Range<LegacyComparable> unused = Range.closed(LegacyComparable.X, LegacyComparable.Y);
      }
    
      private static final DiscreteDomain<Integer> UNBOUNDED_DOMAIN =
          new DiscreteDomain<Integer>() {
            @Override
            public Integer next(Integer value) {
              return integers().next(value);
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Range.java

     * {@code Comparable} type; for example, "integers from 1 to 100 inclusive." Note that it is not
     * possible to <i>iterate</i> over these contained values. To do so, pass this range instance and an
     * appropriate {@link DiscreteDomain} to {@link ContiguousSet#create}.
     *
     * <h3>Types of ranges</h3>
     *
     * <p>Each end of the range may be bounded or unbounded. If bounded, there is an associated
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top