jet
Class ShortRange
java.lang.Object
jet.ShortRange
- All Implemented Interfaces:
- Iterable<Short>, Range<Short>, ShortIterable
public final class ShortRange
- extends Object
- implements Range<Short>, ShortIterable
Constructor Summary |
ShortRange(short startValue,
int count)
|
EMPTY
public static final ShortRange EMPTY
ShortRange
public ShortRange(short startValue,
int count)
toString
public String toString()
- Overrides:
toString
in class Object
step
public ShortIterator step(int step)
contains
public boolean contains(Short item)
- Specified by:
contains
in interface Range<Short>
contains
public boolean contains(short 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 short getStart()
getIteratorStart
public int getIteratorStart()
getEnd
public short getEnd()
getSize
public int getSize()
iterator
public ShortIterator iterator()
- Specified by:
iterator
in interface Iterable<Short>
- Specified by:
iterator
in interface ShortIterable
count
public static ShortRange count(int length)
Copyright © 2012. All Rights Reserved.