LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.beliefbase.IStructure Interface Reference

interface for equal method on views and beliefbases More...

+ Inheritance diagram for org.lightjason.agentspeak.beliefbase.IStructure:
+ Collaboration diagram for org.lightjason.agentspeak.beliefbase.IStructure:

Public Member Functions

boolean empty ()
 checks if the structure empty More...
 
int size ()
 returns the size of literals More...
 
IAgent<?> update ( @Nonnull final IAgent<?> p_agent)
 updates all items More...
 

Detailed Description

Template Parameters
Tagent type

Definition at line 36 of file IStructure.java.

Member Function Documentation

◆ empty()

◆ size()

◆ update()

IAgent<?> org.lightjason.agentspeak.beliefbase.IStructure.update ( @Nonnull final IAgent<?>  p_agent)
Parameters
p_agentagent which runs the update call
Returns
agent
Warning
call update on a storage and on all storage-view, if exists different views which are point to the same storage, the update is called more than once, so the storage must limit the number of update calls

Implemented in org.lightjason.agentspeak.beliefbase.view.CViewMap.CWrapperBeliefbase, org.lightjason.agentspeak.beliefbase.view.CViewMap, org.lightjason.agentspeak.beliefbase.CBeliefbase, org.lightjason.agentspeak.beliefbase.view.CView, and org.lightjason.agentspeak.beliefbase.IBaseBeliefbase.

Referenced by org.lightjason.agentspeak.agent.IBaseAgent< CMethodBindingBlacklist >.call(), org.lightjason.agentspeak.beliefbase.view.CView.update(), and org.lightjason.agentspeak.beliefbase.view.CViewMap.update().

+ Here is the caller graph for this function: