private void addMatch(DictionaryNames n){
  if (names == null)   names=new ArrayList<>();
  if (!names.contains(n)) {
    names.add(n);
  }
}

private void addMatch ( DictionaryNames n ) { if ( names == null ) names = new ArrayList < > ( ) ; if ( ! names . contains ( n ) ) { names . add ( n ) ; } }
add a match to the list of possible matches .
