| Modifier and Type | Method and Description |
|---|---|
TypeMap<T> |
build() |
TypeMap.Builder<T> |
insert(int index,
T value) |
TypeMap.Builder<T> |
insert(int offset,
TypeMap<? extends T> map) |
TypeMap.Builder<T> |
remove(int index) |
TypeMap.Builder<T> |
replace(int index,
T value)
Replaces an existing value in type map
|
TypeMap.Builder<T> |
shift(int startIndex,
int amount)
Shifts values from a specific start index
|
TypeMap.Builder<T> |
update(int oldIndex,
int newIndex,
T value) |
public TypeMap.Builder<T> insert(int index, T value)
public TypeMap.Builder<T> shift(int startIndex, int amount)
startIndex - amount - public TypeMap.Builder<T> replace(int index, T value)
index - value - java.lang.IllegalArgumentException - if value does not exist in type mappublic TypeMap.Builder<T> update(int oldIndex, int newIndex, T value)
public TypeMap.Builder<T> insert(int offset, TypeMap<? extends T> map)
public TypeMap.Builder<T> remove(int index)