2 * Svjatoslav Commons - shared library of common functionality.
3 * Copyright ©2012-2020, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 3 of the GNU Lesser General Public License
7 * or later as published by the Free Software Foundation.
10 package eu.svjatoslav.commons.string.tokenizer;
12 public class TokenizerMatch {
14 public final String token;
15 public final String reminder;
16 public final Terminator terminator;
18 public TokenizerMatch(final String token, final String reminder, final Terminator terminator) {
20 this.reminder = reminder;
21 this.terminator = terminator;
25 public String toString() {
26 return "TokenizerMatch{" +
27 "token='" + token + '\'' +
28 ", reminder='" + reminder + '\'' +
29 ", terminator=" + terminator +