IDTYPE - The type of the provided ID.@FunctionalInterface public interface IHasID<IDTYPE>
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<? super T>> |
getComparatorID() |
IDTYPE |
getID()
Get the unique ID of this object.
|
IDTYPE getID()
String than the
returned value must match an XML NMToken expression (so e.g. no ':' in the
ID)!null.@Nonnull static <T extends Comparable<? super T>> Comparator<IHasID<T>> getComparatorID()
Copyright © 2014–2019 Philip Helger. All rights reserved.