Uses of Class
org.apache.juneau.commons.lang.Value
Packages that use Value
Package
Description
Language utilities including value wrappers, version management, string formatting,
state enums, and other common language constructs.
REST Client API
-
Uses of Value in org.apache.juneau.commons.lang
Subclasses of Value in org.apache.juneau.commons.langModifier and TypeClassDescriptionclassA simple mutable boolean value.classA simple mutable byte value.classA simple mutable character value.classA simple mutable double value.classA simple mutable float value.classA simple mutable integer value.classA simple mutable long value.classA simple mutable short value.classA simple mutable string value.Methods in org.apache.juneau.commons.lang that return ValueModifier and TypeMethodDescriptionstatic <T> Value<T>Value.empty()Creates a new empty value (withnull as the initial value).<T2> Value<T2>Value.listener(ValueListener<T> listener) Registers a listener that will be called whenever the value is changed viaset(Object).<T2> Value<T2>Applies a mapping function to the value if present, returning a newValuewith the result.static <T> Value<T>Value.of(T object) Creates a new value with the specified initial value.Sets the value.Sets the value only if the specified condition istrue .Value.setIfEmpty(T t) Sets the value only if it is currently empty (null ).Updates the value in-place using the specified function.Method parameters in org.apache.juneau.commons.lang with type arguments of type Value -
Uses of Value in org.apache.juneau.rest.client
Methods in org.apache.juneau.rest.client with parameters of type ValueModifier and TypeMethodDescription<T> RestResponseSame asResponseHeader.as(Class)but sets the value in a mutable for fluent calls.<T> RestResponseSame asResponseHeader.as(Type,Type...)but sets the value in a mutable for fluent calls.<T> RestResponseSame asResponseHeader.as(ClassMeta)but sets the value in a mutable for fluent calls.Same asBasicHeader.asString()but sets the value in a mutable for fluent calls.