how to construct a apache commons 3.1 Range object

前端 未结 2 593
[愿得一人]
[愿得一人] 2021-01-19 01:28

How can I create a apache commons 3.1 Range object?

The java docs say:

\"An immutable range of objects from a minimum to maximum point in

2条回答
  •  抹茶落季
    2021-01-19 02:20

    Range is an abstract class. Use IntRange range = new IntRange(100, 200) instead.

提交回复
热议问题