Uses of Class
org.praxislive.core.Value
-
-
Uses of Value in org.praxislive.base
Methods in org.praxislive.base that return Value Modifier and Type Method Description protected abstract Value
AbstractProperty. get()
Get the value.Methods in org.praxislive.base that return types with arguments of type Value Modifier and Type Method Description abstract List<Value>
Binding. getValues()
Get the most recent synced values, if the Control is a property.Methods in org.praxislive.base with parameters of type Value Modifier and Type Method Description protected abstract void
AbstractProperty. set(long time, Value arg)
Set the value.Method parameters in org.praxislive.base with type arguments of type Value Modifier and Type Method Description protected void
Binding.Adaptor. onError(List<Value> args)
An optional hook for adaptors to access any error response from a call to send.protected void
Binding.Adaptor. onResponse(List<Value> args)
An optional hook for adaptors to access the returned response from a call to send.protected void
Binding.Adaptor. send(List<Value> args)
Send the provided values to the Control.protected abstract void
Binding. send(Binding.Adaptor adaptor, List<Value> args)
-
Uses of Value in org.praxislive.code
Methods in org.praxislive.code that return Value Modifier and Type Method Description protected abstract Value
AbstractBasicProperty. get()
Deprecated.abstract Value
PropertyControl.Binding. get()
Value
TypeConverter. getDefaultArgument()
Deprecated.abstract Value
PropertyControl.Binding. getDefaultValue()
protected Value
PropertyControl. getImpl()
protected Value
AbstractAsyncProperty. getKey()
abstract Value
TypeConverter. toArgument(T value)
Deprecated.default Value
DefaultDelegateAPI. V(Object value)
Casting function to convert an object into an appropriate Value subtype.Methods in org.praxislive.code with parameters of type Value Modifier and Type Method Description default PArray
DefaultDelegateAPI. array(Value v)
Convert the given Value into aPArray
.default boolean
DefaultDelegateAPI. b(Value v)
Deprecated.protected abstract TaskService.Task
AbstractAsyncProperty. createTask(Value key)
protected TaskService.Task
ResourceProperty. createTask(Value key)
default double
DefaultDelegateAPI. d(Value v)
Deprecated.abstract T
TypeConverter. fromArgument(Value value)
Deprecated.default int
DefaultDelegateAPI. i(Value v)
Deprecated.protected void
AbstractAsyncProperty. portInvoke(long time, Value key)
void
ControlInput.Link. receive(long time, Value value)
void
ControlInput. receive(long time, Value value)
default String
DefaultDelegateAPI. s(Value v)
Deprecated.void
ControlOutput. send(long time, Value value)
protected abstract void
AbstractBasicProperty. set(long time, Value arg)
Deprecated.abstract void
PropertyControl.Binding. set(Value value)
protected void
PropertyControl. setImpl(long time, Value arg)
void
CodeDelegate. tell(ControlAddress destination, Value value)
Send a message to a Control.void
CodeDelegate. tellIn(double seconds, ControlAddress destination, Value value)
Send a message to a Control in the given number of seconds or fractions of second from now.void
CodeDelegate. transmit(String componentID, String portID, Value value)
Send a value to a port on another component.Method parameters in org.praxislive.code with type arguments of type Value Modifier and Type Method Description Async<Call>
CodeDelegate. ask(ControlAddress destination, List<Value> args)
Call a Control.Constructors in org.praxislive.code with parameters of type Value Constructor Description AbstractAsyncProperty(Value initialKey, Class<V> valueType, V value)
-
Uses of Value in org.praxislive.code.userapi
Methods in org.praxislive.code.userapi with type parameters of type Value Modifier and Type Method Description <T extends Value>
Linkable<T>Input. valuesAs(Class<T> type)
Return aLinkable
of inputs as the provided Value subclass.<T extends Value>
Linkable<T>Property. valuesAs(Class<T> type)
Return a newLinkable
for observing changing values.Methods in org.praxislive.code.userapi that return Value Modifier and Type Method Description Value
Property. get()
Return the current value.protected abstract Value
Property. getImpl()
Methods in org.praxislive.code.userapi that return types with arguments of type Value Modifier and Type Method Description Class<? extends Value>
value()
abstract Optional<Value>
Table. valueAt(int row, int column)
Methods in org.praxislive.code.userapi with parameters of type Value Modifier and Type Method Description abstract void
Output. send(Value value)
Send a Value.Property
Property. set(Value value)
Set the current value.protected abstract void
Property. setImpl(long time, Value arg)
protected void
Input. updateLinks(Value value)
protected void
Property. updateLinks(Value value)
Method parameters in org.praxislive.code.userapi with type arguments of type Value Modifier and Type Method Description <T> Property
Property. linkAs(Function<Value,T> converter, Consumer<T> consumer)
Call the provided consumer when the value changes, transformed using the converter into the required type T.<T> Property
Property. linkAs(Function<Value,T> converter, Consumer<T>... consumers)
<T> Linkable<T>
Input. valuesAs(Function<Value,T> converter)
Return aLinkable
of inputs transformed by the provided converter from Value to the required type.<T> Linkable<T>
Property. valuesAs(Function<Value,T> converter)
Return a newLinkable
for observing changing values. -
Uses of Value in org.praxislive.core
Classes in org.praxislive.core with type parameters of type Value Modifier and Type Class Description static class
Value.Type<T extends Value>
The type of a Value.Subclasses of Value in org.praxislive.core Modifier and Type Class Description class
ArgumentInfo
Info object used to define the valid input and output arguments of a Control.class
ComponentAddress
Address of a Component.class
ComponentInfo
class
ComponentType
class
ControlAddress
class
ControlInfo
class
PortAddress
class
PortInfo
Methods in org.praxislive.core with type parameters of type Value Modifier and Type Method Description static <T extends Value>
Value.Type<T>Value.Type. of(Class<T> cls)
Return the Type mapping for the passed in Value class.Methods in org.praxislive.core that return Value Modifier and Type Method Description static Value
Value. ofObject(Object obj)
Convert the provided Object into a Value.abstract Value
ValueMapper. toValue(T value)
Map the provided T value to a Value.Methods in org.praxislive.core that return types with arguments of type Value Modifier and Type Method Description List<Value>
Call. args()
Get the argument list of this Call.Value.Type<? extends Value>
ArgumentInfo. argumentType()
Function<Value,Optional<T>>
Value.Type. converter()
A convertor function that can convert a value to this type.List<Value>
ControlInfo. defaults()
static Optional<Value.Type<? extends Value>>
Value.Type. fromName(String name)
Return the Type with the given name, or an empty optional if unregistered.Methods in org.praxislive.core with parameters of type Value Modifier and Type Method Description static Call
Call. create(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, Value arg)
Create a Call with Type INVOKE.static ControlInfo
ControlInfo. createPropertyInfo(ArgumentInfo argument, Value def, PMap properties)
static Call
Call. createQuiet(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, Value arg)
Create a Call with Type INVOKE_QUIET.Info.PropertyInfoBuilder
Info.PropertyInfoBuilder. defaultValue(Value value)
Add a default value for this property.boolean
ComponentInfo. equivalent(Value arg)
boolean
Value. equivalent(Value value)
Indicates whether some other Value is equivalent to this one.static Optional<ArgumentInfo>
ArgumentInfo. from(Value arg)
static Optional<ComponentAddress>
ComponentAddress. from(Value arg)
static Optional<ComponentInfo>
ComponentInfo. from(Value arg)
static Optional<ComponentType>
ComponentType. from(Value arg)
static Optional<ControlAddress>
ControlAddress. from(Value arg)
static Optional<ControlInfo>
ControlInfo. from(Value arg)
static Optional<PortAddress>
PortAddress. from(Value arg)
static Optional<PortInfo>
PortInfo. from(Value arg)
abstract T
ValueMapper. fromValue(Value value)
Map the provided Value to a value of type T.T
Info.ArgumentInfoBuilder. property(String key, Value value)
Add custom property.abstract void
ControlPort.Input. receive(long time, Value value)
Call
Call. reply(Value arg)
Create a return Call for this call with the given argument.abstract void
ControlPort.Output. send(long time, Value value)
Method parameters in org.praxislive.core with type arguments of type Value Modifier and Type Method Description static Call
Call. create(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, List<Value> args)
Create a Call with Type INVOKE.static Call
Call. createQuiet(ControlAddress toAddress, ControlAddress fromAddress, long timeCode, List<Value> args)
Create a Call with Type INVOKE_QUIET.Call
Call. error(List<Value> args)
Create an error return Call for this call, with the given arguments.Info.PropertyInfoBuilder
Info.PropertyInfoBuilder. input(Class<? extends Value> type)
Add input ArgumentInfo for the provided value type.static ArgumentInfo
ArgumentInfo. of(Class<? extends Value> argClass)
Create an ArgumentInfo from the Value class and optional PMap of additional properties.static ArgumentInfo
ArgumentInfo. of(Class<? extends Value> argClass, PMap properties)
Create an ArgumentInfo from the Value class and optional PMap of additional properties.Info.ReadOnlyPropertyInfoBuilder
Info.ReadOnlyPropertyInfoBuilder. output(Class<? extends Value> type)
Add output ArgumentInfo for the provided value type.Call
Call. reply(List<Value> args)
Create a return Call for this call with the given arguments.Info.ValueInfoBuilder
Info.ArgumentInfoChooser. type(Class<? extends Value> cls)
Create a ValueInfoBuilder for the provided value type.Constructor parameters in org.praxislive.core with type arguments of type Value Constructor Description ValueMapper(Type type, Class<? extends Value> valueCls)
Base constructor. -
Uses of Value in org.praxislive.core.services
Methods in org.praxislive.core.services that return Value Modifier and Type Method Description Value
TaskService.Task. execute()
Called to execute task.Methods in org.praxislive.core.services that return types with arguments of type Value Modifier and Type Method Description List<Value>
LogBuilder. toList()
-
Uses of Value in org.praxislive.core.types
Subclasses of Value in org.praxislive.core.types Modifier and Type Class Description class
PArray
An ordered list of Values.class
PBoolean
class
PBytes
class
PError
class
PMap
An ordered map of Strings to Values.class
PNumber
class
PReference
class
PResource
class
PString
Fields in org.praxislive.core.types with type parameters of type Value Modifier and Type Field Description static BinaryOperator<Value>
PMap. IF_ABSENT
An operator for use withPMap.merge(org.praxislive.core.types.PMap, org.praxislive.core.types.PMap, java.util.function.BinaryOperator)
that only adds mappings where the key is not present in the base map.static BinaryOperator<Value>
PMap. REPLACE
An operator for use withPMap.merge(org.praxislive.core.types.PMap, org.praxislive.core.types.PMap, java.util.function.BinaryOperator)
that will replace mapped values in the base map, unless the new value is empty in which case the mapping is removed.Methods in org.praxislive.core.types with type parameters of type Value Modifier and Type Method Description static <T extends Value>
Collector<T,?,PArray>PArray. collector()
Create aCollector
that can create a PArray from a Stream of Values.Methods in org.praxislive.core.types that return Value Modifier and Type Method Description Value
PArray. get(int index)
Query the value at the given index in the list.Value
PMap. get(String key)
Get the value for the given key, or null if the key does not exist.Methods in org.praxislive.core.types that return types with arguments of type Value Modifier and Type Method Description List<Value>
PArray. asList()
An unmodifiableList
view of this list of values.Iterator<Value>
PArray. iterator()
Stream<Value>
PArray. stream()
An ordered stream over the list of values.Methods in org.praxislive.core.types with parameters of type Value Modifier and Type Method Description boolean
PArray. equivalent(Value arg)
boolean
PBytes. equivalent(Value arg)
boolean
PMap. equivalent(Value arg)
boolean
PNumber. equivalent(Value arg)
boolean
PReference. equivalent(Value arg)
static Optional<PArray>
PArray. from(Value value)
Cast or convert the provided value into a PArray, wrapped in an Optional.static Optional<PBoolean>
PBoolean. from(Value arg)
static Optional<PBytes>
PBytes. from(Value arg)
static Optional<PError>
PError. from(Value arg)
static Optional<PMap>
PMap. from(Value value)
Cast or convert the provided value into a PMap, wrapped in an Optional.static Optional<PNumber>
PNumber. from(Value arg)
static Optional<PReference>
PReference. from(Value arg)
static Optional<PResource>
PResource. from(Value arg)
static Optional<PString>
PString. from(Value arg)
static PArray
PArray. of(Value... values)
Create a PArray from the given collection of values.PMap.Builder
PMap.Builder. put(String key, Value value)
Add a mapping for the given key and value.Method parameters in org.praxislive.core.types with type arguments of type Value Modifier and Type Method Description static PMap
PMap. merge(PMap base, PMap additional, BinaryOperator<Value> operator)
Create a new PMap by merging the additional map into the base map, according to the result of the provided operator.static PArray
PArray. of(Collection<? extends Value> collection)
Create a PArray from the given collection of values. -
Uses of Value in org.praxislive.script
Methods in org.praxislive.script that return Value Modifier and Type Method Description Value
Variable. getValue()
Methods in org.praxislive.script that return types with arguments of type Value Modifier and Type Method Description List<Value>
InlineCommand. process(Env context, Namespace namespace, List<Value> args)
List<Value>
StackFrame. result()
Methods in org.praxislive.script with parameters of type Value Modifier and Type Method Description void
Variable. setValue(Value value)
Method parameters in org.praxislive.script with type arguments of type Value Modifier and Type Method Description StackFrame
Command. createStackFrame(Namespace namespace, List<Value> args)
void
StackFrame. postResponse(StackFrame.State state, List<Value> args)
List<Value>
InlineCommand. process(Env context, Namespace namespace, List<Value> args)
-
Uses of Value in org.praxislive.script.impl
Methods in org.praxislive.script.impl that return Value Modifier and Type Method Description Value
ConstantImpl. getValue()
Value
VariableImpl. getValue()
Methods in org.praxislive.script.impl that return types with arguments of type Value Modifier and Type Method Description protected List<Value>
AbstractSingleCallFrame. processResult(List<Value> result)
List<Value>
AbstractSingleCallFrame. result()
Methods in org.praxislive.script.impl with parameters of type Value Modifier and Type Method Description void
ConstantImpl. setValue(Value value)
void
VariableImpl. setValue(Value value)
Method parameters in org.praxislive.script.impl with type arguments of type Value Modifier and Type Method Description protected abstract Call
AbstractSingleCallFrame. createCall(Env env, List<Value> args)
StackFrame
AbstractInlineCommand. createStackFrame(Namespace namespace, List<Value> args)
void
AbstractSingleCallFrame. postResponse(StackFrame.State state, List<Value> args)
protected List<Value>
AbstractSingleCallFrame. processResult(List<Value> result)
Constructors in org.praxislive.script.impl with parameters of type Value Constructor Description ConstantImpl(Value value)
VariableImpl(Value value)
Constructor parameters in org.praxislive.script.impl with type arguments of type Value Constructor Description AbstractSingleCallFrame(Namespace namespace, List<Value> args)
-