Package jetbrains.buildServer.web.util
Class HttpByteRange.SimpleRange
- java.lang.Object
-
- jetbrains.buildServer.web.util.HttpByteRange.SimpleRange
-
- All Implemented Interfaces:
Comparable<HttpByteRange.SimpleRange>
- Enclosing class:
- HttpByteRange
public static class HttpByteRange.SimpleRange extends Object implements Comparable<HttpByteRange.SimpleRange>
- Author:
- Maxim.Manuylov Date: 08.09.2008
-
-
Constructor Summary
Constructors Constructor Description SimpleRange(long beginIndex, long endIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(HttpByteRange.SimpleRange o)
boolean
contains(long byteIndex)
long
getBeginIndex()
long
getEndIndex()
long
getLength()
boolean
intersects(HttpByteRange.SimpleRange simpleRange)
-
-
-
Method Detail
-
getBeginIndex
public long getBeginIndex()
-
getEndIndex
public long getEndIndex()
-
getLength
public long getLength()
-
contains
public boolean contains(long byteIndex)
-
intersects
public boolean intersects(HttpByteRange.SimpleRange simpleRange)
-
compareTo
public int compareTo(@NotNull HttpByteRange.SimpleRange o)
- Specified by:
compareTo
in interfaceComparable<HttpByteRange.SimpleRange>
-
-