org.apache.ignite.ml.inference.storage.model

## Interface FileOrDirectory

- All Superinterfaces:
    Serializable

      public interface FileOrDirectory
      extends Serializable

  Base interface for file or directory `ModelStorageProvider` works with.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default boolean` | `isDirectory()` Return `true` if this object is a directory, otherwise `false`.
    `boolean` | `isFile()` Returns `true` if this object is a regular file, otherwise `false`.

- - ### Method Detail

    - #### isFile

          boolean isFile()

      Returns `true` if this object is a regular file, otherwise `false`.
      Returns:
        `true` if this object is a regular file, otherwise `false`.

    - #### isDirectory

          default boolean isDirectory()

      Return `true` if this object is a directory, otherwise `false`.
      Returns:
        `true` if this object is a directory, otherwise `false`.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.11.0
Release Date | : September 11 2021