VALUETYPE - Object typepublic interface ILongIDProvider<VALUETYPE> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
static <VALUETYPE extends IHasLongID> |
createHasLongID() |
long |
getID(VALUETYPE aObject)
Get the ID of the passed object.
|
long getID(@Nonnull VALUETYPE aObject)
aObject - The object who's ID is to be retrieved. May not be null
.@Nonnull static <VALUETYPE extends IHasLongID> ILongIDProvider<VALUETYPE> createHasLongID()
Copyright © 2014–2016 Philip Helger. All rights reserved.