Class FileSystemAndNameKey

  • All Implemented Interfaces:
    java.lang.Comparable<FileSystemAndNameKey>

    final class FileSystemAndNameKey
    extends java.lang.Object
    implements java.lang.Comparable<FileSystemAndNameKey>
    Key for various cache implementations.

    It compares the fileSystem (by hashCode) and the file name.

    • Field Detail

      • fileSystem

        private final FileSystem fileSystem
        The FileSystem
      • fileName

        private final FileName fileName
        The FileName
      • fileSystemId

        private final int fileSystemId
        hashcode to identify this object
    • Constructor Detail

      • FileSystemAndNameKey

        FileSystemAndNameKey​(FileSystem fileSystem,
                             FileName fileName)