}
if (exitAllowedOffset == -1 || hubOffset == -1)
throw new IllegalStateException();
CompactedTransferPattern pattern = new CompactedTransferPattern(
stopIndexArray, parentIndicesArray, exitAllowedOffset, hubOffset);
pattern.setAllStops(_allStops);
TransferPattern existing = _patternsByOriginStop.put(originStop, pattern);
if (existing != null)
_log.warn("overriding pattern for stop " + originStop.getId());