All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.jaddress.parser.SplitStrategy Maven / Gradle / Ivy

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