Package com.aquima.web.rest.v1.resource
Class NullableLong
java.lang.Object
com.aquima.web.rest.v1.resource.NullableLong
- All Implemented Interfaces:
Comparable<NullableLong>
Same as java.util.Long
- Since:
- 9.6
- Author:
- Petru Galanton
-
Constructor Details
-
Method Details
-
hasValue
public boolean hasValue()- Returns:
- true if the value is not null
-
getValue
- Returns:
- the enclosed value, may be null
-
setValue
Sets the enclosed value.- Parameters:
val
- the enclosed value (may be null)
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<NullableLong>
-