public static class Location.Builder
extends java.lang.Object
Constructor and Description |
---|
Location.Builder()
Instantiates a new builder.
|
Location.Builder(java.lang.Long begin,
java.lang.Long end)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Location.Builder |
begin(long begin)
Set the begin.
|
Location |
build()
Builds a Location.
|
Location.Builder |
end(long end)
Set the end.
|
public Location.Builder()
public Location.Builder(java.lang.Long begin, java.lang.Long end)
begin
- the beginend
- the endpublic Location build()
public Location.Builder begin(long begin)
begin
- the beginpublic Location.Builder end(long end)
end
- the end