LightJason - AgentSpeak(L++)
|
interface of a path More...
Public Member Functions | |
IPath | append ( @Nonnull final IPath p_path) |
appends a path at the current and returns a new object More... | |
IPath | append ( @Nonnull final String p_path) |
appends a string at the current path and returns the new object More... | |
boolean | empty () |
check if the path is empty More... | |
boolean | endswith ( @Nonnull final IPath p_path) |
check of a path ends with another path More... | |
String | get (final int p_index) |
returns an part of the path More... | |
IPath | lower () |
changes all elements to lower-case More... | |
String | path (final String p_separator) |
returns the full path as string with an individual separator More... | |
String | path () |
returns the full path as string More... | |
IPath | pushback ( @Nonnull final IPath p_path) |
adds a path at the end More... | |
IPath | pushback ( @Nonnull final String p_path) |
adds a path at the end More... | |
IPath | pushfront ( @Nonnull final String p_path) |
adds a path at the front More... | |
IPath | pushfront ( @Nonnull final IPath p_path) |
adds a path to the front of the path More... | |
IPath | remove (final int p_index) |
removes an element More... | |
IPath | remove (final int p_start, final int p_end) |
removes all elements from start index until end index (exclusive) More... | |
String | removesuffix () |
remove the suffix from the path More... | |
IPath | reverse () |
reverse path More... | |
String | separator () |
returns the separator More... | |
IPath | separator ( @Nonnull final String p_separator) |
sets the separator More... | |
int | size () |
returns the number of path elements More... | |
boolean | startswith (final IPath p_path) |
check of a path starts with another path More... | |
boolean | startswith (final String p_path) |
check of a path starts with another path More... | |
Stream< String > | stream () |
stream over elements More... | |
IPath | subpath (final int p_fromindex) |
creates a path of the start index until the end More... | |
IPath | subpath (final int p_fromindex, final int p_toindex) |
creates a path of the indices More... | |
String | suffix () |
returns the last part of the path More... | |
IPath | upper () |
changes all elements to uppercase More... | |
Public Attributes | |
String | DEFAULTSEPERATOR = "/" |
default seperator More... | |
IPath | EMPTY |
empty path More... | |
Definition at line 38 of file IPath.java.
p_path | path |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.language.variable.CRelocateMutexVariable< T >.deepcopy(), org.lightjason.agentspeak.language.variable.CRelocateVariable< T >.deepcopy(), and org.lightjason.agentspeak.language.variable.CVariable< T >.deepcopy().
IPath org.lightjason.agentspeak.common.IPath.append | ( | @Nonnull final String | p_path | ) |
p_path | string with path |
Implemented in org.lightjason.agentspeak.common.CPath.
boolean org.lightjason.agentspeak.common.IPath.empty | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.common.CCommon.actionusable().
boolean org.lightjason.agentspeak.common.IPath.endswith | ( | @Nonnull final IPath | p_path | ) |
String org.lightjason.agentspeak.common.IPath.get | ( | final int | p_index | ) |
p_index | index position (negativ index is element from the end) |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.common.CCommon.actionusable().
IPath org.lightjason.agentspeak.common.IPath.lower | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
String org.lightjason.agentspeak.common.IPath.path | ( | final String | p_separator | ) |
p_separator | separator |
String org.lightjason.agentspeak.common.IPath.path | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
p_path | path |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.common.CPath.CPathCollector.accumulator(), and org.lightjason.agentspeak.common.CPath.CPathCollector.combiner().
IPath org.lightjason.agentspeak.common.IPath.pushback | ( | @Nonnull final String | p_path | ) |
p_path | string path |
Implemented in org.lightjason.agentspeak.common.CPath.
IPath org.lightjason.agentspeak.common.IPath.pushfront | ( | @Nonnull final String | p_path | ) |
p_path | string path |
Implemented in org.lightjason.agentspeak.common.CPath.
p_path | path |
Implemented in org.lightjason.agentspeak.common.CPath.
IPath org.lightjason.agentspeak.common.IPath.remove | ( | final int | p_index | ) |
p_index | index position |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.common.CPath.remove(), and org.lightjason.agentspeak.beliefbase.view.CView.trigger().
IPath org.lightjason.agentspeak.common.IPath.remove | ( | final int | p_start, |
final int | p_end | ||
) |
p_start | start index |
p_end | end index (exclusive) |
Implemented in org.lightjason.agentspeak.common.CPath.
String org.lightjason.agentspeak.common.IPath.removesuffix | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
IPath org.lightjason.agentspeak.common.IPath.reverse | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.common.CPath.reverse().
String org.lightjason.agentspeak.common.IPath.separator | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
IPath org.lightjason.agentspeak.common.IPath.separator | ( | @Nonnull final String | p_separator | ) |
p_separator | separator |
Implemented in org.lightjason.agentspeak.common.CPath.
int org.lightjason.agentspeak.common.IPath.size | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.language.CRawTerm< T >.functorpath(), org.lightjason.agentspeak.language.variable.CVariable< T >.functorpath(), and org.lightjason.agentspeak.language.CLiteral.functorpath().
boolean org.lightjason.agentspeak.common.IPath.startswith | ( | final IPath | p_path | ) |
p_path | path |
boolean org.lightjason.agentspeak.common.IPath.startswith | ( | final String | p_path | ) |
Stream<String> org.lightjason.agentspeak.common.IPath.stream | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.language.CLiteral.allocate(), org.lightjason.agentspeak.common.CPath.pushback(), and org.lightjason.agentspeak.language.CLiteral.unify().
IPath org.lightjason.agentspeak.common.IPath.subpath | ( | final int | p_fromindex | ) |
p_fromindex | start index |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.language.CRawTerm< T >.functorpath(), org.lightjason.agentspeak.language.variable.CVariable< T >.functorpath(), and org.lightjason.agentspeak.language.CLiteral.functorpath().
IPath org.lightjason.agentspeak.common.IPath.subpath | ( | final int | p_fromindex, |
final int | p_toindex | ||
) |
p_fromindex | start index |
p_toindex | end index (exclusive) / negative values from the end |
Implemented in org.lightjason.agentspeak.common.CPath.
String org.lightjason.agentspeak.common.IPath.suffix | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
Referenced by org.lightjason.agentspeak.language.variable.CRelocateMutexVariable< T >.deepcopysuffix(), org.lightjason.agentspeak.language.variable.CRelocateVariable< T >.deepcopysuffix(), org.lightjason.agentspeak.language.variable.CVariable< T >.deepcopysuffix(), org.lightjason.agentspeak.language.CLiteral.deepcopysuffix(), org.lightjason.agentspeak.language.CRawTerm< T >.functor(), org.lightjason.agentspeak.language.variable.CVariable< T >.functor(), org.lightjason.agentspeak.language.CLiteral.functor(), org.lightjason.agentspeak.language.variable.CConstant< T >.shallowcopysuffix(), org.lightjason.agentspeak.language.variable.CMutexVariable< T >.shallowcopysuffix(), org.lightjason.agentspeak.language.variable.CVariable< T >.shallowcopysuffix(), and org.lightjason.agentspeak.language.CLiteral.shallowcopysuffix().
IPath org.lightjason.agentspeak.common.IPath.upper | ( | ) |
Implemented in org.lightjason.agentspeak.common.CPath.
String org.lightjason.agentspeak.common.IPath.DEFAULTSEPERATOR = "/" |
Definition at line 43 of file IPath.java.
Referenced by org.lightjason.agentspeak.common.CPath.from().
IPath org.lightjason.agentspeak.common.IPath.EMPTY |
Definition at line 48 of file IPath.java.
Referenced by org.lightjason.agentspeak.language.CRawTerm< T >.CRawTerm(), and org.lightjason.agentspeak.common.CPath.from().