类 ItemsRange
- java.lang.Object
-
- com.jzxiang.pickerview.wheel.ItemsRange
-
public class ItemsRange extends Object
Range for visible items.
-
-
构造器概要
构造器 构造器 说明 ItemsRange()Default constructor.ItemsRange(int first, int count)Constructor
-
-
-
方法详细资料
-
getFirst
public int getFirst()
Gets number of first item- 返回:
- the number of the first item
-
getLast
public int getLast()
Gets number of last item- 返回:
- the number of last item
-
getCount
public int getCount()
Get items count- 返回:
- the count of items
-
contains
public boolean contains(int index)
Tests whether item is contained by range- 参数:
index- the item number- 返回:
- true if item is contained
-
-