Class org.as2lib.data.holder.map.MapStringifier

org.as2lib.core.BasicClass
   +--org.as2lib.data.holder.map.MapStringifier

Implemented Interfaces

Stringifier

Description

MapStringifier stringifies instances of type Map.

Method Index

execute()

Inherited from BasicClass

toString()

Method Detail

execute

public function execute(target):String

Returns the string representation of the passed-in target.

The target must be an instance of type Map.

The string representation is constructed as follows:

   {myFirstKey=myFirstValue, mySecondKey=mySecondValue, ..}
 

Parameters

targetthe target map to stringify

Return

the string representation of the passed-in target

Specified By

execute() in org.as2lib.util.Stringifier