I
- the input typeO
- the output typepublic abstract class Stops<I,O> extends Object
Constructor and Description |
---|
Stops() |
Modifier and Type | Method and Description |
---|---|
static <I,O> CategoricalStops<I,O> |
categorical(Stop<I,O>... stops)
Convenience method for use in function declarations
|
static <I,O> ExponentialStops<I,O> |
exponential(Stop<I,O>... stops)
Convenience method for use in function declarations
|
protected abstract String |
getTypeName()
INTERNAL USAGE ONLY
|
static <T> IdentityStops<T> |
identity()
Convenience method for use in function declarations
|
static <I,O> IntervalStops<I,O> |
interval(Stop<I,O>... stops)
Convenience method for use in function declarations
|
String |
toString() |
Map<String,Object> |
toValueObject()
INTERNAL USAGE ONLY
|
@SafeVarargs public static <I,O> CategoricalStops<I,O> categorical(@NonNull Stop<I,O>... stops)
I
- the Stops input typeO
- the Stops output typestops
- the collections of discrete stopsStops
implementationStop.stop(I, com.mapbox.mapboxsdk.style.layers.PropertyValue<O>)
,
CategoricalStops
@SafeVarargs public static <I,O> ExponentialStops<I,O> exponential(@NonNull Stop<I,O>... stops)
I
- the Stops input typeO
- the Stops output typestops
- the collections of discrete stopsStops
implementationStop.stop(I, com.mapbox.mapboxsdk.style.layers.PropertyValue<O>)
,
ExponentialStops
public static <T> IdentityStops<T> identity()
T
- the Stops input/output typeIdentityStops
implementationStop.stop(I, com.mapbox.mapboxsdk.style.layers.PropertyValue<O>)
,
IdentityStops
@SafeVarargs public static <I,O> IntervalStops<I,O> interval(@NonNull Stop<I,O>... stops)
I
- the Stops input typeO
- the Stops output typestops
- the collections of discrete stopsStops
implementationStop.stop(I, com.mapbox.mapboxsdk.style.layers.PropertyValue<O>)
,
IntervalStops
@CallSuper public Map<String,Object> toValueObject()
protected abstract String getTypeName()
© 2015–2017 Mapbox. All rights reserved.