public interface IModifiableByName<V,R> extends IModifiableByIndex<V,R>
| Modifier and Type | Method and Description |
|---|---|
io.vavr.control.Try<R> |
insert(String itemName,
V value)
Inserts an item after an existing item.
|
io.vavr.control.Try<R> |
remove(String itemName)
Removes a named item.
|
io.vavr.control.Try<R> |
replace(String itemName,
V value)
Replaces the old item with the new item.
|
add, insert, remove, replaceio.vavr.control.Try<R> replace(String itemName, V value)
itemName - The item to be replaced.value - The new item.io.vavr.control.Try<R> insert(String itemName, V value)
itemName - The item to be inserted after.value - The new item.Copyright © 2017. All rights reserved.