set abstract method

void set(
  1. T element
)

Replaces the last element returned by next or previous with the specified element element.

Implementation

void set(T element);