Class FileExtensionCount


  • public final class FileExtensionCount
    extends java.lang.Object
    • Constructor Detail

      • FileExtensionCount

        @ConstructorProperties({"fileExtension","count"})
        public FileExtensionCount​(java.lang.String fileExtension,
                                  java.lang.Integer count)
    • Method Detail

      • getFileExtension

        public java.lang.String getFileExtension()
      • getCount

        public java.lang.Integer getCount()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • withFileExtension

        public FileExtensionCount withFileExtension​(java.lang.String fileExtension)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withCount

        public FileExtensionCount withCount​(java.lang.Integer count)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).