congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AutoValue_FeatureCollection
Code IndexAdd Tabnine to your IDE (free)

How to use
AutoValue_FeatureCollection
in
com.mapbox.geojson

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

origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by giving the feature collection a list of
 * {@link Feature}s. The list of features itself isn't null but it can empty and have a size of 0.
 *
 * @param features a list of features
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 1.0.0
 */
public static FeatureCollection fromFeatures(@NonNull List<Feature> features) {
 return new AutoValue_FeatureCollection(TYPE, null, features);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by giving the feature collection a list of
 * {@link Feature}s. The list of features itself isn't null but it can empty and have a size of 0.
 *
 * @param features a list of features
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 1.0.0
 */
public static FeatureCollection fromFeatures(@NonNull List<Feature> features) {
 return new AutoValue_FeatureCollection(TYPE, null, features);
}
origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by giving the feature collection a single {@link Feature}.
 *
 * @param feature a single feature
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 3.0.0
 */
public static FeatureCollection fromFeature(@NonNull Feature feature) {
 List<Feature> featureList = Arrays.asList(feature);
 return new AutoValue_FeatureCollection(TYPE, null, featureList);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by giving the feature collection a single {@link Feature}.
 *
 * @param feature a single feature
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 3.0.0
 */
public static FeatureCollection fromFeature(@NonNull Feature feature) {
 List<Feature> featureList = Arrays.asList(feature);
 return new AutoValue_FeatureCollection(TYPE, null, featureList);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by giving the feature collection an array of
 * {@link Feature}s. The array of features itself isn't null but it can be empty and have a length
 * of 0.
 *
 * @param features an array of features
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 1.0.0
 */
public static FeatureCollection fromFeatures(@NonNull Feature[] features) {
 return new AutoValue_FeatureCollection(TYPE, null, Arrays.asList(features));
}
origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by giving the feature collection an array of
 * {@link Feature}s. The array of features itself isn't null but it can be empty and have a length
 * of 0.
 *
 * @param features an array of features
 * @return a new instance of this class defined by the values passed inside this static factory
 *   method
 * @since 1.0.0
 */
public static FeatureCollection fromFeatures(@NonNull Feature[] features) {
 return new AutoValue_FeatureCollection(TYPE, null, Arrays.asList(features));
}
origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by giving the feature collection a list of
 * {@link Feature}s. The list of features itself isn't null but it can be empty and have a size of
 * 0.
 *
 * @param features a list of features
 * @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 FeatureCollection fromFeatures(@NonNull List<Feature> features,
                       @Nullable BoundingBox bbox) {
 return new AutoValue_FeatureCollection(TYPE, bbox, features);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by giving the feature collection a single {@link Feature}.
 *
 * @param feature a single feature
 * @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 FeatureCollection fromFeature(@NonNull Feature feature,
                      @Nullable BoundingBox bbox) {
 List<Feature> featureList = Arrays.asList(feature);
 return new AutoValue_FeatureCollection(TYPE, bbox, featureList);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by giving the feature collection a list of
 * {@link Feature}s. The list of features itself isn't null but it can be empty and have a size of
 * 0.
 *
 * @param features a list of features
 * @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 FeatureCollection fromFeatures(@NonNull List<Feature> features,
                       @Nullable BoundingBox bbox) {
 return new AutoValue_FeatureCollection(TYPE, bbox, features);
}
origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by giving the feature collection an array of
 * {@link Feature}s. The array of features itself isn't null but it can be empty and have a length
 * of 0.
 *
 * @param features an array of features
 * @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 FeatureCollection fromFeatures(@NonNull Feature[] features,
                       @Nullable BoundingBox bbox) {
 return new AutoValue_FeatureCollection(TYPE, bbox, Arrays.asList(features));
}
origin: mapbox/mapbox-java

/**
 * Create a new instance of this class by giving the feature collection a single {@link Feature}.
 *
 * @param feature a single feature
 * @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 FeatureCollection fromFeature(@NonNull Feature feature,
                      @Nullable BoundingBox bbox) {
 List<Feature> featureList = Arrays.asList(feature);
 return new AutoValue_FeatureCollection(TYPE, bbox, featureList);
}
origin: com.mapbox.mapboxsdk/mapbox-sdk-geojson

/**
 * Create a new instance of this class by giving the feature collection an array of
 * {@link Feature}s. The array of features itself isn't null but it can be empty and have a length
 * of 0.
 *
 * @param features an array of features
 * @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 FeatureCollection fromFeatures(@NonNull Feature[] features,
                       @Nullable BoundingBox bbox) {
 return new AutoValue_FeatureCollection(TYPE, bbox, Arrays.asList(features));
}
com.mapbox.geojsonAutoValue_FeatureCollection

Most used methods

  • <init>

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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