jet
Class ByteRange
java.lang.Object
jet.ByteRange
- All Implemented Interfaces:
- Iterable<Byte>, Progression<Byte>, Range<Byte>
public final class ByteRange
- extends Object
- implements Range<Byte>, Progression<Byte>
Constructor Summary |
ByteRange(byte start,
byte end)
|
EMPTY
public static final ByteRange EMPTY
ByteRange
public ByteRange(byte start,
byte end)
contains
public boolean contains(Byte item)
- Specified by:
contains
in interface Range<Byte>
contains
public boolean contains(byte item)
getStart
public Byte getStart()
- Specified by:
getStart
in interface Progression<Byte>
- Specified by:
getStart
in interface Range<Byte>
getEnd
public Byte getEnd()
- Specified by:
getEnd
in interface Progression<Byte>
- Specified by:
getEnd
in interface Range<Byte>
getIncrement
public Integer getIncrement()
- Specified by:
getIncrement
in interface Progression<Byte>
iterator
public ByteIterator iterator()
- Specified by:
iterator
in interface Iterable<Byte>
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2013. All Rights Reserved.