jet
Class ByteRange

java.lang.Object
  extended by jet.ByteRange
All Implemented Interfaces:
Iterable<Byte>, Progression<Byte>, Range<Byte>

public final class ByteRange
extends Object
implements Range<Byte>, Progression<Byte>


Field Summary
static ByteRange EMPTY
           
 
Constructor Summary
ByteRange(byte start, byte end)
           
 
Method Summary
 boolean contains(byte item)
           
 boolean contains(Byte item)
           
 boolean equals(Object o)
           
 Byte getEnd()
           
 Integer getIncrement()
           
 Byte getStart()
           
 int hashCode()
           
 ByteIterator iterator()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY

public static final ByteRange EMPTY
Constructor Detail

ByteRange

public ByteRange(byte start,
                 byte end)
Method Detail

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.