net.sourceforge.plantuml.regex.RegexPartialMatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.regex;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
public class RegexPartialMatch implements Iterable {
// ::remove folder when __HAXE__
private final List data = new ArrayList<>();
public RegexPartialMatch(String name) {
}
public void add(String group) {
data.add(group);
}
public int size() {
return data.size();
}
public String get(int i) {
return data.get(i);
}
public Iterator iterator() {
return Collections.unmodifiableCollection(data).iterator();
}
@Override
public String toString() {
return "{" + data + "}";
}
}