A few samples for using Esri Java Geometry Library (github.com/Esri/geometry-api-java)