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