- Type Parameters:
T
- the data type of set objects.
- Enclosing class:
PerfectMap<T>
public static class PerfectMap.Builder<T>
extends Object
The builder of perfect map.
-
Constructor Summary 
Constructors
-
Method Summary 
Add a new key-value pair.
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details 
-
Builder 
public Builder()
Constructor.
-
Builder 
Constructor.
- Parameters:
map
- the initialization map.
-
Method Details 
-
add 
Add a new key-value pair.
- Parameters:
key
- the key.
value
- the value.
- Returns:
- this builder.
-
build 
Builds the perfect map.
- Returns:
- the perfect map.