Class InstantTypeAutoboxer
- java.lang.Object
-
- org.jobrunr.utils.reflection.autobox.InstantTypeAutoboxer
-
- All Implemented Interfaces:
TypeAutoboxer<java.time.Instant>
- Direct Known Subclasses:
InstantForOracleTypeAutoboxer
public class InstantTypeAutoboxer extends java.lang.Object implements TypeAutoboxer<java.time.Instant>
-
-
Constructor Summary
Constructors Constructor Description InstantTypeAutoboxer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.Instant
autobox(java.lang.Object value, java.lang.Class<java.time.Instant> type)
boolean
supports(java.lang.Class<?> type)
-
-
-
Method Detail
-
supports
public boolean supports(java.lang.Class<?> type)
- Specified by:
supports
in interfaceTypeAutoboxer<java.time.Instant>
-
autobox
public java.time.Instant autobox(java.lang.Object value, java.lang.Class<java.time.Instant> type)
- Specified by:
autobox
in interfaceTypeAutoboxer<java.time.Instant>
-
-