public class NetexEntityMapByIdImpl<V extends org.rutebanken.netex.model.EntityStructure> extends Object implements NetexEntityIndex<V>
| Constructor and Description |
|---|
NetexEntityMapByIdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(V entity) |
V |
get(String id)
Get an entity by its id
|
Collection<V> |
getAll()
Get all entities in the index
|
void |
putAll(Collection<V> entities)
Put all entities into the collection
|
public V get(String id)
NetexEntityIndexget in interface NetexEntityIndex<V extends org.rutebanken.netex.model.EntityStructure>public Collection<V> getAll()
NetexEntityIndexgetAll in interface NetexEntityIndex<V extends org.rutebanken.netex.model.EntityStructure>public void putAll(Collection<V> entities)
NetexEntityIndexputAll in interface NetexEntityIndex<V extends org.rutebanken.netex.model.EntityStructure>public void add(V entity)
Copyright © 2021 Entur AS. All rights reserved.