setPattern

public abstract void setPattern(int i, Pattern pattern)

Sets the pattern at the specified index

Parameters

i

the index

pattern

the new pattern