congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AutoValue_MultiPoint
Code IndexAdd Tabnine to your IDE (free)

How to use
AutoValue_MultiPoint
in
com.mapbox.geojson

Best Java code snippets using com.mapbox.geojson.AutoValue_MultiPoint (Showing top 6 results out of 315)

origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by defining a list of {@link Point}s which follow the
 * correct specifications described in the Point documentation. Note that there should not be any
 * duplicate points inside the list. <p> Note that if less than 2 points are passed in, a runtime
 * exception will occur. </p>
 *
 * @param points a list of {@link Point}s which make up the LineString geometry
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 3.0.0
 */
public static MultiPoint fromLngLats(@NonNull List<Point> points) {
 return new AutoValue_MultiPoint(TYPE, null, points);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by defining a list of {@link Point}s which follow the
 * correct specifications described in the Point documentation. Note that there should not be any
 * duplicate points inside the list. <p> Note that if less than 2 points are passed in, a runtime
 * exception will occur. </p>
 *
 * @param points a list of {@link Point}s which make up the LineString geometry
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 3.0.0
 */
public static MultiPoint fromLngLats(@NonNull List<Point> points) {
 return new AutoValue_MultiPoint(TYPE, null, points);
}
origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by defining a list of {@link Point}s which follow the
 * correct specifications described in the Point documentation. Note that there should not be any
 * duplicate points inside the list. <p> Note that if less than 2 points are passed in, a runtime
 * exception will occur. </p>
 *
 * @param points a list of {@link Point}s which make up the LineString geometry
 * @param bbox   optionally include a bbox definition as a double array
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 3.0.0
 */
public static MultiPoint fromLngLats(@NonNull List<Point> points, @Nullable BoundingBox bbox) {
 return new AutoValue_MultiPoint(TYPE, bbox, points);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by defining a list of {@link Point}s which follow the
 * correct specifications described in the Point documentation. Note that there should not be any
 * duplicate points inside the list. <p> Note that if less than 2 points are passed in, a runtime
 * exception will occur. </p>
 *
 * @param points a list of {@link Point}s which make up the LineString geometry
 * @param bbox   optionally include a bbox definition as a double array
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 3.0.0
 */
public static MultiPoint fromLngLats(@NonNull List<Point> points, @Nullable BoundingBox bbox) {
 return new AutoValue_MultiPoint(TYPE, bbox, points);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

static MultiPoint fromLngLats(@NonNull double[][] coordinates) {
 ArrayList<Point> converted = new ArrayList<>(coordinates.length);
 for (int i = 0; i < coordinates.length; i++) {
  converted.add(Point.fromLngLat(coordinates[i]));
 }
 return new AutoValue_MultiPoint(TYPE, null, converted);
}
origin: mapbox/mapbox-java

static MultiPoint fromLngLats(@NonNull double[][] coordinates) {
 ArrayList<Point> converted = new ArrayList<>(coordinates.length);
 for (int i = 0; i < coordinates.length; i++) {
  converted.add(Point.fromLngLat(coordinates[i]));
 }
 return new AutoValue_MultiPoint(TYPE, null, converted);
}
com.mapbox.geojsonAutoValue_MultiPoint

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Permission (java.security)
    Legacy security code; do not use.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now