add static method

void add(
  1. String b
)

Implementation

static void add(String b) {
  if (items.contains(b)) return;
  items.add(b);
}