setName method

Description

Sets up a name for the Explicit memory block. The parameter name is set up in the instance field that indicates the name of this object, as the name of the Explicit memory block indicated by the object.

This name is mainly set up for the purpose of debugging. The specified value is displayed in the event log or the thread dump.

Format

public void setName(String name);

Parameters

name:
This parameter specifies the string that indicates the name to be set up.

Exceptions

NullPointerException:
The value of the parameter name is null.

Return value

None

Caution

The names are not unique because the same name can be set up in multiple ExplicitMemory.