/** * Returns a copy of the current match results. Use this method * to save away match results for later use, since future operations * using the SequenceMatcher changes the match results. * @return Copy of the the current match results */ public BasicSequenceMatchResult<T> toBasicSequenceMatchResult() { if (matchingCompleted && matched) { return super.toBasicSequenceMatchResult(); } else { String message = getStateMessage(); throw new IllegalStateException(message); } }
public BasicSequenceMatchResult<T> toBasicSequenceMatchResult() { if (matchingCompleted && matched) { return super.toBasicSequenceMatchResult(); } else { String message = getStateMessage(); throw new IllegalStateException(message); } }
/** * Returns a copy of the current match results. Use this method * to save away match results for later use, since future operations * using the SequenceMatcher changes the match results. * @return Copy of the the current match results */ public BasicSequenceMatchResult<T> toBasicSequenceMatchResult() { if (matchingCompleted && matched) { return super.toBasicSequenceMatchResult(); } else { String message = getStateMessage(); throw new IllegalStateException(message); } }
/** * Returns a copy of the current match results. Use this method * to save away match results for later use, since future operations * using the SequenceMatcher changes the match results. * @return Copy of the the current match results */ public BasicSequenceMatchResult<T> toBasicSequenceMatchResult() { if (matchingCompleted && matched) { return super.toBasicSequenceMatchResult(); } else { String message = getStateMessage(); throw new IllegalStateException(message); } }
/** * Returns a copy of the current match results. Use this method * to save away match results for later use, since future operations * using the SequenceMatcher changes the match results. * @return Copy of the the current match results */ public BasicSequenceMatchResult<T> toBasicSequenceMatchResult() { if (matchingCompleted && matched) { return super.toBasicSequenceMatchResult(); } else { String message = getStateMessage(); throw new IllegalStateException(message); } }