public class NetexVersionHelper extends Object
This class implements Norwegian profile specific rules.
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.rutebanken.netex.model.EntityInVersionStructure> |
latestVersionedElementIn(Collection<T> list)
Return the element with the latest (maximum) version for a given
list of elements. |
static <T extends org.rutebanken.netex.model.EntityInVersionStructure> |
versionOfElementIn(Collection<T> list,
String version) |
public static <T extends org.rutebanken.netex.model.EntityInVersionStructure> T latestVersionedElementIn(Collection<T> list)
list of elements.
If no elements exist in the collection null is returned.public static <T extends org.rutebanken.netex.model.EntityInVersionStructure> T versionOfElementIn(Collection<T> list, String version)
Copyright © 2021 Entur AS. All rights reserved.