LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.language.variable.IVariable< T > Interface Template Reference

variable defintion More...

+ Inheritance diagram for org.lightjason.agentspeak.language.variable.IVariable< T >:
+ Collaboration diagram for org.lightjason.agentspeak.language.variable.IVariable< T >:

Public Member Functions

boolean any ()
 flag to define a "any variable" More...
 
boolean mutex ()
 flag to check if variable has is concurrency- / thread-safe More...
 
IVariable< T > set ( @Nullable final T p_value)
 sets the value More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.ITerm
IPath fqnfunctor ()
 returns the full-qualified functor with path and name More...
 
String functor ()
 returns the functor without path More...
 
IPath functorpath ()
 returns the path of the functor More...
 
boolean hasVariable ()
 checks if the literal has variables More...
 
< T > T raw ()
 cast to any raw value type More...
 
default< T extends ITerm > T term ()
 casts the object to a term-type More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IStructureHash
int structurehash ()
 returns a hash value which defines a hash ove rthe structure More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IDeepCopy< ITerm >
deepcopy (@Nullable final IPath... p_prefix)
 clones the object (shallow-copy) More...
 
deepcopysuffix ()
 clones the object (shallow-copy) without full-qualified path, only suffix is used More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IRawStructure< T >
boolean allocated ()
 returns allocated state More...
 
thrownotallocated () throws IllegalStateException
 throws an illegal state exception iif the variable is not allocated More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IAssignable< T >
throwvaluenotassignableto ( @Nonnull final Class<?>... p_class) throws IllegalArgumentException
 throws an illegal argument exception iif the value is not assignable to the class More...
 
boolean valueassignableto ( @Nonnull final Class<?>... p_class)
 checkes assignable of the value More...
 
- Public Member Functions inherited from org.lightjason.agentspeak.language.IShallowCopy< T >
shallowcopy ( @Nullable final IPath... p_prefix)
 clones the object (shallow-copy) More...
 
shallowcopysuffix ()
 clones the object (shallow-copy) without full-qualified path, only suffix is used More...
 

Additional Inherited Members

- Public Attributes inherited from org.lightjason.agentspeak.language.ITerm
ITerm EMPTY
 empty term More...
 
long serialVersionUID = -3640918490398129717L
 serial id More...
 
- Public Attributes inherited from org.lightjason.agentspeak.language.IStructureHash
Comparator< IStructureHashCOMPARATOR = Comparator.comparingInt( IStructureHash::structurehash )
 comparator More...
 

Detailed Description

Template Parameters
Tdata type

Definition at line 39 of file IVariable.java.

Member Function Documentation

◆ any()

Returns
flag for any variable

Implemented in org.lightjason.agentspeak.language.variable.CVariable< T >.

Referenced by org.lightjason.agentspeak.language.TestCTermVariablesConstant.variableany().

+ Here is the caller graph for this function:

◆ mutex()

◆ set()