Package io.split.client
Class SplitAndKey
- java.lang.Object
-
- io.split.client.SplitAndKey
-
public final class SplitAndKey extends Object
A split and a key. Key can be null. Primary use case is reading the localhost file and populating a map where the key is SplitAndKey and the value is a treatment.- Author:
- adil
-
-
Constructor Summary
Constructors Constructor Description SplitAndKey(String split, String key)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Stringkey()static SplitAndKeyof(String split)static SplitAndKeyof(String split, String key)Stringsplit()StringtoString()
-
-
-
Method Detail
-
of
public static SplitAndKey of(String split)
-
of
public static SplitAndKey of(String split, String key)
-
split
public String split()
-
key
public String key()
-
-