input method

dynamic input(
  1. T f
)

Implementation

input(T f) {
  if (list.contains(f)) return;
  list.add(f);
  notify(f);
}