blob: 980425c0cef26799e0b8e2ee8006fe12cb2c82a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package com.mapbox.mapboxsdk.maps;
import androidx.annotation.NonNull;
import com.mapbox.mapboxsdk.annotations.Annotation;
import java.util.List;
/**
* Interface that defines convenient methods for working with a {@link Annotation}'s collection.
*/
interface Annotations {
Annotation obtainBy(long id);
List<Annotation> obtainAll();
void removeBy(long id);
void removeBy(@NonNull Annotation annotation);
void removeBy(@NonNull List<? extends Annotation> annotationList);
void removeAll();
}
|