public class BasicResourceLookup<T extends AbstractResource> extends AbstractResourceLookup<T>
ResourceLookup.EmptyResourceLookup<T extends AbstractResource>
Constructor and Description |
---|
BasicResourceLookup() |
Modifier and Type | Method and Description |
---|---|
void |
add(T item) |
void |
addAll(T... items) |
T |
get(java.lang.String id) |
java.util.List<ResolvableLink<T>> |
links() |
static <T extends AbstractResource> |
of(T... items) |
boolean |
remove(java.lang.String id) |
T |
update(T item) |
isEmpty
public T get(java.lang.String id)
public java.util.List<ResolvableLink<T>> links()
public void add(T item)
public void addAll(T... items)
public boolean remove(java.lang.String id)
public static <T extends AbstractResource> BasicResourceLookup<T> of(T... items)