Uses of Interface
ru.progrm_jarvis.javacommons.object.ValueContainer
Packages that use ValueContainer
-
Uses of ValueContainer in ru.progrm_jarvis.javacommons.object
Classes in ru.progrm_jarvis.javacommons.object that implement ValueContainerModifier and TypeClassDescriptionstatic final classA simple value-container which is meant to keep one unchanged value.static final classEmpty value-container.static final classNon-empty value-container containingnull.static final classValue-container which provides new values for each request.Methods in ru.progrm_jarvis.javacommons.object that return ValueContainerModifier and TypeMethodDescription@NotNull ValueContainer<E>Result.asErrorValueContainer()Converts this result into aValueContainerof its error value.@NotNull ValueContainer<E>Result.Error.asErrorValueContainer()@NotNull ValueContainer<E>Result.Success.asErrorValueContainer()@NotNull ValueContainer<T>Result.asValueContainer()Converts this result into aValueContainerof its successful value.@NotNull ValueContainer<T>Result.Error.asValueContainer()@NotNull ValueContainer<T>Result.Success.asValueContainer()static <T> @NotNull ValueContainer<T>ValueContainer.empty()Gets a value container being empty.static <T> @NotNull ValueContainer<T>ValueContainer.nonnullOrEmpty(T value) Gets a value container containing the specified value or an empty one if the values isnull.static <T> @NotNull ValueContainer<T>ValueContainer.of(T value) Gets a non-empty value container containing the specified value.static <T> @NotNull ValueContainer<T>ValueContainer.ofNull()Gets a non-empty value container containingnull.