Package com.cedarpolicy.value
Class PrimLong
java.lang.Object
com.cedarpolicy.value.Value
com.cedarpolicy.value.PrimLong
Represents the primitive Cedar integer type.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrimLong
public PrimLong(long i) Build PrimLong.- Parameters:
i- Long.
-
-
Method Details
-
getValue
public long getValue()Get the PrimLong as a long. -
equals
equals. -
hashCode
public int hashCode()hash. -
toString
toString. -
toCedarExpr
To Cedar expr that can be used in a Cedar policy.- Specified by:
toCedarExprin classValue- Returns:
- Cedar source code for the value.
-