[build] - initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package com.mapbox.mapboxsdk.annotations;
|
||||
|
||||
import android.support.annotation.IntDef;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@Deprecated
|
||||
class ArrowDirection {
|
||||
@IntDef( {LEFT, RIGHT, TOP, BOTTOM})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@interface Value {
|
||||
}
|
||||
|
||||
static final int LEFT = 0;
|
||||
static final int RIGHT = 1;
|
||||
static final int TOP = 2;
|
||||
static final int BOTTOM = 3;
|
||||
|
||||
@Value
|
||||
private final int value;
|
||||
|
||||
ArrowDirection(@Value int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@Value
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user