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(String id) |
List<ResolvableLink<T>> |
links() |
static <T extends AbstractResource> |
of(T... items) |
boolean |
remove(String id) |
T |
update(T item) |
isEmpty, newLinkpublic List<ResolvableLink<T>> links()
public void add(T item)
public void addAll(T... items)
public boolean remove(String id)
@SafeVarargs public static <T extends AbstractResource> BasicResourceLookup<T> of(T... items)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.