public static class LightIdProvider.Segment extends Object
| Constructor and Description |
|---|
Segment(String name,
int block,
long head,
long foot)
不可变的片段
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBlock()
区块
|
long |
getFoot()
终点(包含)
|
long |
getHead()
起点(包含)
|
String |
getName()
名字
|
public Segment(String name, int block, long head, long foot)
name - 名字block - 区块head - 起点(包含)foot - 终点(包含)public String getName()
public int getBlock()
public long getHead()
public long getFoot()
Copyright © 2020. All rights reserved.