VALUETYPE - The object type@NotThreadSafe public final class LongIDProviderFromHasLongID<VALUETYPE extends IHasLongID> extends Object implements ILongIDProvider<VALUETYPE>
IIntIDProvider implementation for objects implementing the
IHasIntID interface| Constructor and Description |
|---|
LongIDProviderFromHasLongID() |
| Modifier and Type | Method and Description |
|---|---|
long |
getID(VALUETYPE aObject)
Get the ID of the passed object.
|
public long getID(@Nonnull VALUETYPE aObject)
ILongIDProvidergetID in interface ILongIDProvider<VALUETYPE extends IHasLongID>aObject - The object who's ID is to be retrieved. May not be null
.Copyright © 2014–2015 Philip Helger. All rights reserved.