public final class OffsetMap extends Object
Modifier and Type | Method and Description |
---|---|
<T> T[] |
expand(OffsetMap oldOffsets,
T[] oldArray,
int offset) |
List<RouteKey> |
getRouteKeysList() |
<T> T |
getValue(T[] array,
int offset) |
int |
offsetOf(RouteKey key) |
<T> T[] |
removeValue(T[] oldArray,
int offset) |
<T> void |
setValue(T[] array,
int offset,
T value) |
int |
size() |
OffsetMap |
with(RouteKey key) |
OffsetMap |
without(RouteKey key) |
public int offsetOf(RouteKey key)
public int size()
public <T> T getValue(T[] array, int offset)
public <T> void setValue(T[] array, int offset, T value)
public <T> T[] expand(OffsetMap oldOffsets, T[] oldArray, int offset)
public <T> T[] removeValue(T[] oldArray, int offset)
Copyright © 2018 OpenDaylight. All rights reserved.