public class ShardToMultiIntervalShardAdapter<T> extends java.lang.Object implements MultiIntervalShard<T>, Shard<T>, java.io.Serializable
Constructor and Description |
---|
ShardToMultiIntervalShardAdapter(Shard<T> shard) |
Modifier and Type | Method and Description |
---|---|
SimpleInterval |
getInterval() |
java.util.List<SimpleInterval> |
getIntervals() |
SimpleInterval |
getPaddedInterval() |
java.util.List<SimpleInterval> |
getPaddedIntervals() |
java.util.Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
divideIntervalIntoShards, divideIntervalIntoShards, getContig, getEnd, getStart
public java.util.List<SimpleInterval> getIntervals()
getIntervals
in interface MultiIntervalShard<T>
public java.util.List<SimpleInterval> getPaddedIntervals()
getPaddedIntervals
in interface MultiIntervalShard<T>
public java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
public SimpleInterval getInterval()
getInterval
in interface Shard<T>
public SimpleInterval getPaddedInterval()
getPaddedInterval
in interface Shard<T>