public class CircularRange<K extends Comparable<?>> extends Range<K>
from, fromInclusive, keyComp, to, toInclusive| コンストラクタと説明 |
|---|
CircularRange(K key) |
CircularRange(K from,
boolean fromInclusive,
K to,
boolean toInclusive) |
CircularRange(K from,
K to) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
CircularRange<K> |
concatenate(CircularRange<K> another) |
boolean |
isFollowedBy(CircularRange<K> another) |
protected CircularRange<K> |
newInstance(K from,
boolean fromInclusive,
K to,
boolean toInclusive) |
List<CircularRange<K>> |
retain(Range<K> r,
List<? super Range<K>> intersect)
このインスタンスが表す範囲からrを削除した場合に残る範囲のリストを返す.
|
CircularRange<K>[] |
split(K k) |
clone, contains, contains, equals, hashCode, isSameRange, isSingleton, isWhole, rangeString, toString, toString2public CircularRange(K key)
protected CircularRange<K> newInstance(K from, boolean fromInclusive, K to, boolean toInclusive)
public CircularRange<K>[] split(K k)
split クラス内 Range<K extends Comparable<?>>public List<CircularRange<K>> retain(Range<K> r, List<? super Range<K>> intersect)
example: this: [==========] r: [===] returned: [=] [==] this: [==========] r: [===] returned: [=======]
r - range to deleteintersect - the list to add ranges that intersects with rpublic boolean isFollowedBy(CircularRange<K> another)
public CircularRange<K> concatenate(CircularRange<K> another)
Copyright © 2017. All rights reserved.