Code example for FilenameFilter

Methods: accept

0
    this.delegate = delegate;
  } 
 
  @Override 
  public boolean accept(File file, String s) {
    return !delegate.accept(file, s);
  } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java