public boolean insert(E elem){
  Boolean b=table.get(elem);
  if (b == null || b == false) {
    return false;
  }
  return true;
}

public boolean insert ( E elem ) { Boolean b = table . get ( elem ) ; if ( b == null || b == false ) { return false ; } return true ; }
insert element into collection .
