Packageorg.samchon.library.container
Interfacepublic interface IDictionary
Implementors EntityArray

Interface for Dictionary container having key-based items.



Public Methods
 MethodDefined By
  
erase(key:*):Boolean
Removes child element by specified key and returns whether deletion was succeded or not.
IDictionary
  
has(key:*):Boolean
Indicates whether a container has an object having the specified identifier.
IDictionary
Method Detail
erase()method
public function erase(key:*):Boolean

Removes child element by specified key and returns whether deletion was succeded or not.

Parameters

key:* — the identifier of the Entity wants to erase

Returns
Boolean — Whethere succeded to erase or not
has()method 
public function has(key:*):Boolean

Indicates whether a container has an object having the specified identifier.

Parameters

key:* — The identifier wants to check

Returns
Boolean — If there's the object then true, otherwise false