/** * Fast construction of a new feature. * * <p>The object takes ownership of the provided value array, do not modify after calling the * constructor * * @param values * @param featureType * @param id * @param validating */ public SimpleFeatureImpl( Object[] values, SimpleFeatureType featureType, FeatureId id, boolean validating) { this(values, featureType, id, validating, index(featureType)); }
/** * Builds a new feature based on the provided values and feature type * * @param values * @param featureType * @param id */ public SimpleFeatureImpl(List<Object> values, SimpleFeatureType featureType, FeatureId id) { this(values.toArray(), featureType, id, false, index(featureType)); }
/** * Fast construction of a new feature. * <p> * The object takes ownership of the provided value array, * do not modify after calling the constructor *</p> * @param values * @param featureType * @param id * @param validating */ public SimpleFeatureImpl(Object[] values, SimpleFeatureType featureType, FeatureId id, boolean validating) { this(values, featureType, id, validating, index(featureType)); }
/** * Builds a new feature based on the provided values and feature type * @param values * @param featureType * @param id */ public SimpleFeatureImpl( List<Object> values, SimpleFeatureType featureType, FeatureId id) { this(values.toArray(), featureType, id, false,index(featureType)); }