public class MessagePathClassifier extends Object implements IntSupplier
| Constructor and Description |
|---|
MessagePathClassifier() |
| Modifier and Type | Method and Description |
|---|---|
MessagePathClassifier |
addPathForSourcesEnding(int pathId,
int... sources) |
int |
getAsInt() |
int |
pathFor(MessageHistory messageHistory) |
String |
toString() |
public MessagePathClassifier addPathForSourcesEnding(int pathId, int... sources)
pathId - 0 indexed pathId for sourcces ending withsources - match a message history ending with this.public int getAsInt()
getAsInt in interface IntSupplierpublic int pathFor(MessageHistory messageHistory)
Copyright © 2023. All rights reserved.