jet
Class ByteRange

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

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


Field Summary
static ByteRange EMPTY
           
 
Constructor Summary
ByteRange(byte startValue, int count)
           
 
Method Summary
 boolean contains(byte item)
           
 boolean contains(Byte item)
           
static ByteRange count(int length)
           
 boolean equals(Object o)
           
 byte getEnd()
           
 boolean getIsReversed()
           
 byte getIteratorStart()
           
 int getSize()
           
 byte getStart()
           
 int hashCode()
           
 ByteIterator iterator()
           
 ByteIterator step(int step)
           
 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 startValue,
                 int count)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

contains

public boolean contains(Byte item)
Specified by:
contains in interface Range<Byte>

contains

public boolean contains(byte item)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getIsReversed

public boolean getIsReversed()

getStart

public byte getStart()

getIteratorStart

public byte getIteratorStart()

getEnd

public byte getEnd()

getSize

public int getSize()

step

public ByteIterator step(int step)

iterator

public ByteIterator iterator()
Specified by:
iterator in interface Iterable<Byte>
Specified by:
iterator in interface ByteIterable

count

public static ByteRange count(int length)


Copyright © 2012. All Rights Reserved.