Top Deprecated By Reference
Vavr 0.10.6

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

A new LinkedHashMap instance containing the given entries
io.vavr.API.LinkedMap
(Tuple2<? extends K, ? extends V>...
Map entries.
entries
)

Will be removed in a future version.

Returns:

A new HashMap instance containing the given entries
io.vavr.API.Map
(Tuple2<? extends K, ? extends V>...
Map entries.
entries
)

Will be removed in a future version.

Returns:

A new TreeMap instance containing the given entries
io.vavr.API.SortedMap
(Tuple2<? extends K, ? extends V>...
Map entries.
entries
)

Will be removed in a future version.

Returns:

A new TreeMap instance containing the given entry
io.vavr.API.SortedMap
(Comparator<? super K>
The comparator used to sort the entries by their key
keyComparator
,
Tuple2<? extends K, ? extends V>...
Map entries.
entries
)

Will be removed in a future version.

Returns:

A new TreeMap instance containing the given map
io.vavr.API.SortedMap
(Map<? extends K, ? extends V>
A map entry.
map
)

Will be removed in a future version.

Returns:

A new Validation.Valid containing the given value if this is empty, otherwise a new Validation.Invalid containing this value.
io.vavr.Value.toInvalid
(U
An instance of a Valid value
value
)

Use toValidation(Object) instead.

Returns:

A new Validation.Valid containing the result of valueSupplier if this is empty, otherwise a new Validation.Invalid containing this value.
io.vavr.Value.toInvalid
(Supplier<? extends U>
A supplier of a Valid value
valueSupplier
)

Use toValidation(Supplier) instead.

Returns:

A new Java array.
io.vavr.Value.toJavaArray
(Class<T>
Component type of the array
componentType
)

Use toJavaArray(IntFunction) instead

Returns:

A new Either.Right containing the value of right if this is empty, otherwise a new Either.Left containing this value.
io.vavr.Value.toLeft
(R
An instance of a right value
right
)

Use toEither(Object) instead.

Returns:

A new Either.Right containing the result of right if this is empty, otherwise a new Either.Left containing this value.
io.vavr.Value.toLeft
(Supplier<? extends R>
A supplier of a right value
right
)

Use toEither(Supplier) instead.

Returns:

A new Either.Left containing the value of left if this is empty, otherwise a new Either.Right containing this value.
io.vavr.Value.toRight
(L
An instance of a left value
left
)

Use toEither(Object) instead.

Returns:

A new Either.Left containing the result of left if this is empty, otherwise a new Either.Right containing this value.
io.vavr.Value.toRight
(Supplier<? extends L>
A supplier of a left value
left
)

Use toEither(Supplier) instead.

Returns:

A new Validation.Invalid containing the given error if this is empty, otherwise a new Validation.Valid containing this value.
io.vavr.Value.toValid
(E
An error
error
)

Use toValidation(Object) instead.

Returns:

A new Validation.Invalid containing the result of errorSupplier if this is empty, otherwise a new Validation.Valid containing this value.
io.vavr.Value.toValid
(Supplier<? extends E>
A supplier of an error
errorSupplier
)

Use toValidation(Supplier) instead.

io.vavr.collection.AbstractMultimap.removeAll(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

io.vavr.collection.AbstractMultimap.removeKeys(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

io.vavr.collection.AbstractMultimap.removeValues(Predicate<? super V>
the predicate used to test values of elements
predicate
)

io.vavr.collection.Array.removeAll(Predicate<? super T>
the predicate used to test elements
predicate
)

io.vavr.collection.CharSeq.removeAll(Predicate<? super Character>
the predicate used to test elements
predicate
)

io.vavr.collection.HashMap.removeAll(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

io.vavr.collection.HashMap.removeKeys(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

io.vavr.collection.HashMap.removeValues(Predicate<? super V>
the predicate used to test values of elements
predicate
)

io.vavr.collection.IndexedSeq.isDefinedAt(Integer
a potential function argument
index
)

io.vavr.collection.IndexedSeq.removeAll(Predicate<? super T>
the predicate used to test elements
predicate
)

io.vavr.collection.LinearSeq.isDefinedAt(Integer
a potential function argument
index
)

io.vavr.collection.LinearSeq.removeAll(Predicate<? super T>
the predicate used to test elements
predicate
)

io.vavr.collection.LinkedHashMap.removeAll(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

io.vavr.collection.LinkedHashMap.removeKeys(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

io.vavr.collection.LinkedHashMap.removeValues(Predicate<? super V>
the predicate used to test values of elements
predicate
)

io.vavr.collection.List.removeAll(Predicate<? super T>
the predicate used to test elements
predicate
)

io.vavr.collection.Map.apply(K
the argument
key
)

io.vavr.collection.Map.isDefinedAt(K
a potential function argument
key
)

Returns:

a new Map
io.vavr.collection.Map.removeAll
(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

Please use reject(BiPredicate)

Returns:

a new Map
io.vavr.collection.Map.removeKeys
(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

Please use rejectKeys(Predicate)

Returns:

a new Map
io.vavr.collection.Map.removeValues
(Predicate<? super V>
the predicate used to test values of elements
predicate
)

Please use rejectValues(Predicate)

Returns:

a total function from K to T
io.vavr.collection.Map.withDefault
(Function<? super K, ? extends V>
function to evaluate for all keys not present in the map
defaultFunction
)

Will be removed

Returns:

a total function from K to T
io.vavr.collection.Map.withDefaultValue
(V
default value to return for all keys not present in the map
defaultValue
)

Will be removed

io.vavr.collection.Multimap.isDefinedAt(K
a potential function argument
key
)

Returns:

a new Multimap
io.vavr.collection.Multimap.removeAll
(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

Please use reject(BiPredicate)

Returns:

a new Multimap
io.vavr.collection.Multimap.removeKeys
(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

Please use rejectKeys(Predicate)

Returns:

a new Multimap
io.vavr.collection.Multimap.removeValues
(Predicate<? super V>
the predicate used to test values of elements
predicate
)

Please use rejectValues(Predicate)

Returns:

the element at the given index
io.vavr.collection.Seq.apply
(Integer
an index
index
)

Will be removed

Returns:

a function that takes an index i and returns the value of this sequence in a Some if the index is within bounds, otherwise a None.
io.vavr.collection.Seq.lift
()

Will be removed

Returns:

a new Seq
io.vavr.collection.Seq.removeAll
(Predicate<? super T>
the predicate used to test elements
predicate
)

Please use reject(Predicate)

Returns:

a total function from index to T
io.vavr.collection.Seq.withDefault
(Function<? super Integer, ? extends T>
function to evaluate for all out of bounds indexes.
defaultFunction
)

Will be removed

Returns:

a total function from index to T
io.vavr.collection.Seq.withDefaultValue
(T
default value to return for out of bound indexes
defaultValue
)

Will be removed

Returns:

true if the given element is contained, false otherwise.
io.vavr.collection.Set.apply
(T
the element to test for membership.
element
)

Will be removed

io.vavr.collection.SortedMap.removeAll(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

io.vavr.collection.SortedMap.removeKeys(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

io.vavr.collection.SortedMap.removeValues(Predicate<? super V>
the predicate used to test values of elements
predicate
)

io.vavr.collection.SortedMultimap.removeAll(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

io.vavr.collection.SortedMultimap.removeKeys(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

io.vavr.collection.SortedMultimap.removeValues(Predicate<? super V>
the predicate used to test values of elements
predicate
)

io.vavr.collection.Stream.removeAll(Predicate<? super T>
the predicate used to test elements
predicate
)

io.vavr.collection.TreeMap.removeAll(BiPredicate<? super K, ? super V>
the predicate used to test elements
predicate
)

io.vavr.collection.TreeMap.removeKeys(Predicate<? super K>
the predicate used to test keys of elements
predicate
)

io.vavr.collection.TreeMap.removeValues(Predicate<? super V>
the predicate used to test values of elements
predicate
)

io.vavr.collection.Vector.removeAll(Predicate<? super T>
the predicate used to test elements
predicate
)

Returns:

(never)
io.vavr.concurrent.Future.executorService
()

Removed starting with Vavr 0.10.0, use executor() instead.

Returns:

A new Future instance
io.vavr.concurrent.Future.ofCallable
(Callable<? extends T>
A computation
computation
)

Will be removed. Use Future.of(callable::call) instead of Future.ofCallable(callable).

Returns:

A new Future instance
io.vavr.concurrent.Future.ofCallable
(Executor
An executor service.
executor
,
Callable<? extends T>
A computation.
computation
)

Will be removed. Use Future.of(executor, callable::call) instead of Future.ofCallable(executor, callable).

Returns:

A new Future instance
io.vavr.concurrent.Future.ofSupplier
(Supplier<? extends T>
A computation.
computation
)

Will be removed. Use Future.of(supplier::get) instead of Future.ofSupplier(supplier).

Returns:

A new Future instance
io.vavr.concurrent.Future.ofSupplier
(Executor
An executor service.
executor
,
Supplier<? extends T>
A computation.
computation
)

Will be removed. Use Future.of(executor, supplier::get) instead of Future.ofSupplier(executor, supplier).

Returns:

a new Future instance
io.vavr.concurrent.Future.run
(Task<? extends T>
A computational task
task
)

Experimental API

Returns:

a new Future instance
io.vavr.concurrent.Future.run
(Executor
An Executor that runs the given computation
executor
,
Task<? extends T>
A computational task
task
)

Experimental API

Returns:

A new Future instance
io.vavr.concurrent.Future.runRunnable
(Runnable
A computation
computation
)

Will be removed. Use Future.of(runnable::run) instead of Future.runRunnable(runnable).

Returns:

A new Future instance
io.vavr.concurrent.Future.runRunnable
(Executor
An executor service.
executor
,
Runnable
A computation.
computation
)

Will be removed. Use Future.of(executor, runnable::run) instead of Future.runRunnable(executor, runnable).

Returns:

(never)
io.vavr.concurrent.Promise.executorService
()

Removed starting with Vavr 0.10.0, use executor() instead.

io.vavr.concurrent.Task<
result type
T
>

Experimental API

io.vavr.control.Either.LeftProjection<
The type of the Left value of an Either.
L
,
The type of the Right value of an Either.
R
>

Either is right-biased. Use swap() instead of projections.

io.vavr.control.Either.RightProjection<
The type of the Left value of an Either.
L
,
The type of the Right value of an Either.
R
>

Either is right-biased. Use swap() instead of projections.

Returns:

a new LeftProjection of this
io.vavr.control.Either.left
()

Either is right-biased. Use swap() instead of projections.

Returns:

a new RightProjection of this
io.vavr.control.Either.right
()

Either is right-biased. Use swap() instead of projections.

io.vavr.control.HashCodes

Will be removed from public API

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description

Returns:

a new FutureImpl instance
io.vavr.concurrent.FutureImpl.async
(Executor
An Executor to run and control the computation and to perform the actions.
executor
,
Task<? extends T>
A (possibly blocking) computation
task
)

Task is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

a new FutureImpl instance
io.vavr.concurrent.FutureImpl.sync
(Executor
An Executor to run and control the computation and to perform the actions.
executor
,
Task<? extends T>
A non-blocking computation
task
)

Task is deprecated or references (maybe indirectly) at least one deprecated element.

io.vavr.control.Either.LeftProjection.bimap(Function<? super L, ? extends L2> leftMapper, Function<? super R, ? extends R2> rightMapper)

Either.LeftProjection is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

this as LeftProjection<L, U> if a Right is underlying, otherwise a the mapping result of the left value.
io.vavr.control.Either.LeftProjection.flatMap
(Function<? super L, ? extends Either.LeftProjection<? extends U, R>>
A mapper
mapper
)

Either.LeftProjection is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

A new LeftProjection
io.vavr.control.Either.LeftProjection.map
(Function<? super L, ? extends U>
A mapper which takes a left value and returns a value of type U
mapper
)

Either.LeftProjection is deprecated or references (maybe indirectly) at least one deprecated element.

io.vavr.control.Either.LeftProjection.orElse(Either.LeftProjection<? extends L, ? extends R> other)

Either.LeftProjection is deprecated or references (maybe indirectly) at least one deprecated element.

io.vavr.control.Either.LeftProjection.orElse(Supplier<? extends Either.LeftProjection<? extends L, ? extends R>> supplier)

Either.LeftProjection is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

this LeftProjection
io.vavr.control.Either.LeftProjection.peek
(Consumer<? super L>
An action which takes a left value
action
)

Either.LeftProjection is deprecated or references (maybe indirectly) at least one deprecated element.

io.vavr.control.Either.RightProjection.bimap(Function<? super L, ? extends L2> leftMapper, Function<? super R, ? extends R2> rightMapper)

Either.RightProjection is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

this as RightProjection<L, U> if a Left is underlying, otherwise a the mapping result of the right value.
io.vavr.control.Either.RightProjection.flatMap
(Function<? super R, ? extends Either.RightProjection<L, ? extends U>>
A mapper
mapper
)

Either.RightProjection is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

A new RightProjection
io.vavr.control.Either.RightProjection.map
(Function<? super R, ? extends U>
A mapper which takes a right value and returns a value of type U
mapper
)

Either.RightProjection is deprecated or references (maybe indirectly) at least one deprecated element.

io.vavr.control.Either.RightProjection.orElse(Either.RightProjection<? extends L, ? extends R> other)

Either.RightProjection is deprecated or references (maybe indirectly) at least one deprecated element.

io.vavr.control.Either.RightProjection.orElse(Supplier<? extends Either.RightProjection<? extends L, ? extends R>> supplier)

Either.RightProjection is deprecated or references (maybe indirectly) at least one deprecated element.

Returns:

this Either instance
io.vavr.control.Either.RightProjection.peek
(Consumer<? super R>
An action which takes a right value
action
)

Either.RightProjection is deprecated or references (maybe indirectly) at least one deprecated element.