public final class Marker extends Object implements Comparable<Marker>
| Modifier and Type | Class and Description |
|---|---|
static class |
Marker.Bound |
| Constructor and Description |
|---|
Marker(SerializableNativeValue value,
Marker.Bound bound) |
| Modifier and Type | Method and Description |
|---|---|
static Marker |
above(Comparable<?> value) |
static Marker |
below(Comparable<?> value) |
int |
compareTo(Marker o) |
boolean |
equals(Object obj) |
static Marker |
exactly(Comparable<?> value) |
Marker.Bound |
getBound() |
SerializableNativeValue |
getSerializableNativeValue() |
Class<?> |
getType() |
Comparable<?> |
getValue() |
Marker |
greaterAdjacent() |
int |
hashCode() |
boolean |
isAdjacent(Marker other)
Adjacency is defined by two Markers being infinitesimally close to each other.
|
boolean |
isLowerUnbounded() |
boolean |
isUpperUnbounded() |
Marker |
lesserAdjacent() |
static Marker |
lowerUnbounded(Class<?> type) |
static Marker |
max(Marker marker1,
Marker marker2) |
static Marker |
min(Marker marker1,
Marker marker2) |
String |
toString() |
static Marker |
upperUnbounded(Class<?> type) |
public Marker(SerializableNativeValue value, Marker.Bound bound)
public static Marker above(Comparable<?> value)
public static Marker exactly(Comparable<?> value)
public static Marker below(Comparable<?> value)
public Class<?> getType()
public Comparable<?> getValue()
public SerializableNativeValue getSerializableNativeValue()
public Marker.Bound getBound()
public boolean isUpperUnbounded()
public boolean isLowerUnbounded()
public boolean isAdjacent(Marker other)
public Marker greaterAdjacent()
public Marker lesserAdjacent()
public int compareTo(Marker o)
compareTo in interface Comparable<Marker>Copyright © 2012-2015. All Rights Reserved.