org.unlaxer.jaddress.parser.SplitStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of japanese-address-parser Show documentation
Show all versions of japanese-address-parser Show documentation
a simplejapanese address parser
The newest version!
package org.unlaxer.jaddress.parser;
public enum SplitStrategy{
Tuple3(3),
Tuple2_SeparatorJoinWithLeft(2),
Tuple2_SeparatorJoinWithRight(2),
;
public int tupleLenght;
private SplitStrategy(int tupleLenght) {
this.tupleLenght = tupleLenght;
}
public boolean isTuple3() {
return this == Tuple3;
}
public boolean isTuple2_SeparatorJoinWithLeft() {
return this == Tuple2_SeparatorJoinWithLeft;
}
public boolean isTuple2_SeparatorJoinWithRight() {
return this == Tuple2_SeparatorJoinWithRight;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy