public class CoordinateList extends Object
| Constructor and Description | 
|---|
| CoordinateList()Default constructor | 
| CoordinateList(CoordinateList other)Copy constructor | 
| CoordinateList(JsonObject json)Constructor from JSON | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| long | getIndex()Get Consul index | 
| List<Coordinate> | getList()Get list of coordinates | 
| int | hashCode() | 
| CoordinateList | setIndex(long index)Set Consul index, a unique identifier representing the current state of the requested coordinates | 
| CoordinateList | setList(List<Coordinate> list)Set list of coordinates | 
| JsonObject | toJson()Convert to JSON | 
public CoordinateList()
public CoordinateList(CoordinateList other)
other - the one to copypublic CoordinateList(JsonObject json)
json - the JSONpublic JsonObject toJson()
public long getIndex()
public List<Coordinate> getList()
public CoordinateList setIndex(long index)
index - the consul indexpublic CoordinateList setList(List<Coordinate> list)
list - the list of coordinatesCopyright © 2024 Eclipse. All rights reserved.