org.geolatte.geom.generator.Generator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geolatte-geom Show documentation
Show all versions of geolatte-geom Show documentation
This geoLatte-geom library offers a geometry model that conforms to the OGC Simple Features for SQL
specification.
The newest version!
package org.geolatte.geom.generator;
/**
* Created by Karel Maesen, Geovise BVBA on 2019-08-16.
*/
public interface Generator {
T generate();
@SuppressWarnings("unchecked")
default void generateArray(T[] ts) {
for(int i = 0; i < ts.length; i++){
ts[i] = generate();
}
}
}