Class Endpoint<T>
java.lang.Object
org.aksw.commons.util.range.Endpoint<T>
A poor-man's version of guava's internal Cut class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Endpoint<T> closed(T value) booleancom.google.common.collect.BoundTypegetValue()inthashCode()booleanhasValue()static <T> Endpoint<T> of(T value, com.google.common.collect.BoundType boundType) static <T> Endpoint<T> open(T value) Create a new endpoint with the bound type toggled.toString()
-
Field Details
-
value
-
boundType
protected com.google.common.collect.BoundType boundType
-
-
Constructor Details
-
Endpoint
-
-
Method Details
-
open
-
closed
-
of
-
getValue
-
getBoundType
public com.google.common.collect.BoundType getBoundType() -
toggleBoundType
-
hasValue
public boolean hasValue() -
toString
-
hashCode
-
equals
-