24 package org.lightjason.agentspeak.beliefbase;
32 import javax.annotation.Nonnull;
33 import java.util.Collection;
34 import java.util.Collections;
35 import java.util.stream.Stream;
61 return Stream.empty();
68 return super.add( p_literal );
75 return super.remove( p_literal );
86 public Collection<ILiteral>
literal( @Nonnull
final String p_key )
88 return Collections.<
ILiteral>emptySet();
93 public final IView view( @Nonnull
final String p_key )
108 return Stream.empty();
final IView viewOrDefault( @Nonnull final String p_key, final IView p_default)
on-demand beliefbase for creating trigger-events without any percistency
Stream< ILiteral > streamLiteral()
returns a stream over all literals
boolean empty()
checks if the structure empty
final boolean containsView( @Nonnull final String p_key)
contains a single-element
static< T > String languagestring(final T p_source, final String p_label, final Object... p_parameter)
returns the language depend string on any object
view for a beliefbase that creates any access to the underlying data structures
Collection< ILiteral > literal( @Nonnull final String p_key)
returns a literal by the name
final IBeliefbase clear()
clears all elements
boolean containsLiteral( @Nonnull final String p_key)
contains a multi-element
interface of beliefbase definition, that create the trigger events for the agent
final IView view( @Nonnull final String p_key)
returns a view element
final Stream< IView > streamView()
returns a stream over all views
final IView add( @Nonnull final IView p_view)
adds a view
default behaviour of a beliefbase
int size()
returns the size of literals
class for any helper calls
ILiteral add( @Nonnull final ILiteral p_literal)
adds a literal