Class Range
Javadoc 27 generates this reference during each site build from the exported packages and the annotation processor. The Java guide shows the API in use.
The integers from a lower bound up:
lo... to(NumericExpr) and below(NumericExpr) give it an upper
bound.-
Method Summary
Modifier and TypeMethodDescriptionbelow(long hi) Returnslo..<hi, without the upper bound.below(NumericExpr hi) Returnslo..<hi, without the upper bound.to(long hi) Returnslo..hi, with both bounds included.to(NumericExpr hi) Returnslo..hi, with both bounds included.Methods inherited from class Type
dim, dim, dims, dims, layout, layout, offset, offset, until, until, until, untilEolModifier and TypeMethodDescriptionfinal IntTypedim(long size) Returns this type with another dimension:x[size]: type.final IntTypeReturns this type with another dimension:x[size]: type.final IntTypedims(long... sizes) Returns this type with several more dimensions, as many as known only at run time.final IntTypeReturns this type with several more dimensions, as many as known only at run time.final IntTypelayout(long layout) Returns this type withlayout expression.final IntTypeReturns this type withlayout expression.final IntTypeoffset(long offset) Returns this type withoffset expression.final IntTypeReturns this type withoffset expression.final ListReadinguntil(long end) Returns a list of this type that ends at the sentinelend.final ListReadingReturns a list of this type that ends at the sentinelend.final ListReadingReturns a list of this type that ends at the sentinelend.final ListReadinguntilEol()Returns a list of this type that ends at the end of the line:until eol.
-
Method Details
-
to
Returnslo..hi, with both bounds included.- Parameters:
hi- the upper bound- Returns:
lo..hi, with both bounds included- Throws:
IllegalArgumentException- if the bound is a float
-
to
Returnslo..hi, with both bounds included.- Parameters:
hi- the upper bound- Returns:
lo..hi, with both bounds included
-
below
Returnslo..<hi, without the upper bound.- Parameters:
hi- the upper bound- Returns:
lo..<hi, without the upper bound- Throws:
IllegalArgumentException- if the bound is a float
-
below
Returnslo..<hi, without the upper bound.- Parameters:
hi- the upper bound- Returns:
lo..<hi, without the upper bound
-