Codota Logo
AutoValue_FeatureCollection.<init>
Code IndexAdd Codota to your IDE (free)

How to use
com.mapbox.geojson.AutoValue_FeatureCollection
constructor

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
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<init>

Popular methods of AutoValue_FeatureCollection

    Popular in Java

    • Updating database using SQL prepared statement
    • findViewById (Activity)
    • orElseThrow (Optional)
    • scheduleAtFixedRate (Timer)
      Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
    • BufferedImage (java.awt.image)
      The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
    • Kernel (java.awt.image)
    • Permission (java.security)
      Abstract class for representing access to a system resource. All permissions have a name (whose inte
    • ResultSet (java.sql)
      An interface for an object which represents a database table entry, returned as the result of the qu
    • TimeZone (java.util)
      TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
    • ExecutorService (java.util.concurrent)
      An Executor that provides methods to manage termination and methods that can produce a Future for tr
    Codota Logo
    • Products

      Search for Java codeSearch for JavaScript codeEnterprise
    • IDE Plugins

      IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Codota for your IDE now