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