Class DefaultServlet.Range

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long end  
      long length  
      long start  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Range()  
    • Field Detail

      • start

        public long start
      • end

        public long end
      • length

        public long length
    • Constructor Detail

      • Range

        protected Range()
    • Method Detail

      • validate

        public boolean validate()
        Validate range.
        Returns:
        true if the range is valid, otherwise false
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object