Package | org.samchon.library.container |
Interface | public interface IDictionary |
Implementors | EntityArray |
Interface for Dictionary container having key-based items.
Method | Defined 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 |
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
|
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
|
Boolean — If there's the object then true, otherwise false
|