V - public interface NetexEntityIndex<V extends org.rutebanken.netex.model.EntityStructure>
| Modifier and Type | Method and Description |
|---|---|
V |
get(String id)
Get an entity by its id
|
Collection<V> |
getAll()
Get all entities in the index
|
void |
put(String id,
V entity)
Put an entity into the collection
If the entity already exists in the index, all versions
will be replaced.
|
void |
putAll(Collection<V> entities)
Put all entities into the collection
If an entity already exists in the index, all versions
will be replaced.
|
void |
remove(String id)
Remove an entity from the index given its id
|
Collection<V> getAll()
void put(String id, V entity)
entity - void putAll(Collection<V> entities)
entities - void remove(String id)
id - Copyright © 2023 Entur AS. All rights reserved.