public interface Versioned<V extends Comparable<V>,T extends Versioned<V,T>>
| Modifier and Type | Method and Description |
|---|---|
default Comparator<V> |
getComparator()
Returns the
Comparator used by since(Versioned). |
V |
getVersion()
Returns the version of this object.
|
default boolean |
since(T object)
Indicates whether the version of this object is greater than or equal to the version of the specified versioned object.
|
V getVersion()
default Comparator<V> getComparator()
Comparator used by since(Versioned).default boolean since(T object)
object - a versioned objectCopyright © 2024 JBoss by Red Hat. All rights reserved.