ContentsIndexHome
PreviousUpNext
appendLabels Method

Adds the specified labels to this set and all its supersets. Alternatively, the method setLabels can be used to replace the entire contents.

Adds the specified labels to this set and all its supersets. Does not apply to subsets of Integers. 

An exception is thrown if one of the sets in which labels must be inserted is read-only.

void appendLabels(params String[] labels);

 

Adds the specified labels to this set and all its supersets. Applies to subsets of Integers. 

An exception is thrown if one of the sets in which labels must be inserted is read-only.

void appendLabels(params int[] labels);