use of org.opendaylight.protocol.bgp.mode.impl.add.RouteKey in project bgpcep by opendaylight.
the class ComplexRouteEntry method removeRoute.
@Override
public boolean removeRoute(final UnsignedInteger routerId, final long remotePathId) {
final RouteKey key = new RouteKey(routerId, remotePathId);
final OffsetMap map = getOffsets();
final int offset = map.offsetOf(key);
this.values = map.removeValue(this.values, offset);
return removeRoute(key, offset);
}
Aggregations