src/java.base/share/classes/java/io/FileFilter.java
changeset 58288 48e480e56aad
parent 47216 71c04702a3d5
equal deleted inserted replaced
58287:a7f16447085e 58288:48e480e56aad
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    41     /**
    41     /**
    42      * Tests whether or not the specified abstract pathname should be
    42      * Tests whether or not the specified abstract pathname should be
    43      * included in a pathname list.
    43      * included in a pathname list.
    44      *
    44      *
    45      * @param  pathname  The abstract pathname to be tested
    45      * @param  pathname  The abstract pathname to be tested
    46      * @return  <code>true</code> if and only if <code>pathname</code>
    46      * @return  {@code true} if and only if {@code pathname}
    47      *          should be included
    47      *          should be included
    48      */
    48      */
    49     boolean accept(File pathname);
    49     boolean accept(File pathname);
    50 }
    50 }