Codota Logo
AutoValue_FeatureCollection
Code IndexAdd Codota 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)

  • 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

Most used methods

  • <init>

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JPanel (javax.swing)
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