Top Methods
io.vavr

pack-priv Interface ValueModule

Located in compilation unit of io.vavr.Value.


Method Summary

Modifier and TypeMethod and Description
public static <T, R extends Collection<T>> R
toJavaCollection(Value<T> value, Function<Integer, R> containerSupplier)

public static <T, R extends Collection<T>> R
toJavaCollection(Value<T> value, Function<Integer, R> containerSupplier, int defaultInitialCapacity)

public static <T, K, V, E extends Tuple2<? extends K, ? extends V>, R extends Map<K, V>> R
toMap(Value<T> value, R empty, Function<E, R> ofElement, Function<Iterable<E>, R> ofAll, Function<? super T, ? extends E> f)

public static <T, R extends Traversable<T>> R
toTraversable(Value<T> value, R empty, Function<T, R> ofElement, Function<Iterable<T>, R> ofAll)

Method Detail

toJavaCollectionback to summary
public static <T, R extends Collection<T>> R toJavaCollection(Value<T> value, Function<Integer, R> containerSupplier)
toJavaCollectionback to summary
public static <T, R extends Collection<T>> R toJavaCollection(Value<T> value, Function<Integer, R> containerSupplier, int defaultInitialCapacity)
toMapback to summary
public static <T, K, V, E extends Tuple2<? extends K, ? extends V>, R extends Map<K, V>> R toMap(Value<T> value, R empty, Function<E, R> ofElement, Function<Iterable<E>, R> ofAll, Function<? super T, ? extends E> f)
toTraversableback to summary
public static <T, R extends Traversable<T>> R toTraversable(Value<T> value, R empty, Function<T, R> ofElement, Function<Iterable<T>, R> ofAll)