public class ExcludingBounds<T extends RingPosition<T>> extends AbstractBounds<T>
AbstractBounds.AbstractBoundsSerializer<T extends RingPosition<T>>, AbstractBounds.Boundary<T extends RingPosition<T>>
left, right, rowPositionSerializer, tokenSerializer
Constructor and Description |
---|
ExcludingBounds(T left,
T right) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(T position) |
boolean |
equals(java.lang.Object o) |
protected java.lang.String |
getClosingString() |
protected java.lang.String |
getOpeningString() |
boolean |
inclusiveLeft() |
boolean |
inclusiveRight() |
boolean |
isEndInclusive() |
boolean |
isStartInclusive() |
Pair<AbstractBounds<T>,AbstractBounds<T>> |
split(T position)
Given token T and AbstractBounds ?L,R?, returns Pair(?L,T], (T,R?),
where ? means that the same type of AbstractBounds is returned as the original.
|
java.lang.String |
toString() |
java.util.List<? extends AbstractBounds<T>> |
unwrap() |
AbstractBounds<T> |
withNewRight(T newRight) |
bounds, bounds, getString, hashCode, intersects, isEmpty, leftBoundary, maxLeft, maxLeft, minRight, minRight, noneStrictlyWrapsAround, rightBoundary, strictlyWrapsAround
public boolean contains(T position)
contains
in class AbstractBounds<T extends RingPosition<T>>
public Pair<AbstractBounds<T>,AbstractBounds<T>> split(T position)
AbstractBounds
split
in class AbstractBounds<T extends RingPosition<T>>
public boolean inclusiveLeft()
inclusiveLeft
in class AbstractBounds<T extends RingPosition<T>>
public boolean inclusiveRight()
inclusiveRight
in class AbstractBounds<T extends RingPosition<T>>
public java.util.List<? extends AbstractBounds<T>> unwrap()
unwrap
in class AbstractBounds<T extends RingPosition<T>>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String getOpeningString()
getOpeningString
in class AbstractBounds<T extends RingPosition<T>>
protected java.lang.String getClosingString()
getClosingString
in class AbstractBounds<T extends RingPosition<T>>
public boolean isStartInclusive()
isStartInclusive
in class AbstractBounds<T extends RingPosition<T>>
public boolean isEndInclusive()
isEndInclusive
in class AbstractBounds<T extends RingPosition<T>>
public AbstractBounds<T> withNewRight(T newRight)
withNewRight
in class AbstractBounds<T extends RingPosition<T>>
Copyright © 2017 The Apache Software Foundation