Package org.aoju.bus.core.lang.range
Interface Range.Stepper<T>
- Type Parameters:
T- 需要增加步进的对象
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
步进接口,此接口用于实现如何对一个对象按照指定步进增加步进 步进接口可以定义以下逻辑:
1、步进规则,即对象如何做步进 2、步进大小,通过实现此接口,在实现类中定义一个对象属性,可灵活定义步进大小 3、限制range个数,通过实现此接口,在实现类中定义一个对象属性,可灵活定义limit,限制range个数
-
Method Summary
-
Method Details
-
step
-