クラスの使用
org.piax.common.subspace.Range
| パッケージ | 説明 |
|---|---|
| org.piax.common.subspace |
-
org.piax.common.subspaceでのRangeの使用
org.piax.common.subspaceでのRangeのサブクラス 修飾子とタイプ クラス 説明 classKeyRange<K extends ComparableKey<?>>A class that corresponds to the range of keyRange型の型パラメータを持つorg.piax.common.subspaceのメソッド 修飾子とタイプ メソッド 説明 <T extends Range<K>>
TRange. newRange(K from, boolean fromInclusive, K to, boolean toInclusive)create a new range.<T extends Range<K>>
List<T>Range. retain(Range<K> r, List<T> intersect)returns remaining range(s) when subtracting a specified range from this range.<T extends Range<K>>
List<T>Range. split(K k)split the range with given k.Rangeを返すorg.piax.common.subspaceのメソッド 修飾子とタイプ メソッド 説明 Range<K>Range. clone()Range<K>Range. newRange(Range<K> another)Range型のパラメータを持つorg.piax.common.subspaceのメソッド 修飾子とタイプ メソッド 説明 booleanRange. contains(Range<K> another)check if another range ⊆ this range.booleanRange. hasIntersection(Range<K> another)returns if another range intersects this range.booleanRange. isFollowedBy(Range<K> another)returns if this range is immediately followed by another range.booleanRange. isSameRange(Range<K> another)Range<K>Range. newRange(Range<K> another)<T extends Range<K>>
List<T>Range. retain(Range<K> r, List<T> intersect)returns remaining range(s) when subtracting a specified range from this range.