public class StringIDFromLongIDFactory extends Object implements IStringIDFactory
ILongIDFactory
. The implementation is as thread-safe as the used ILongIDFactory.| Constructor and Description |
|---|
StringIDFromLongIDFactory(ILongIDFactory aLongIDFactory) |
StringIDFromLongIDFactory(ILongIDFactory aLongIDFactory,
String sPrefix) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ILongIDFactory |
getLongIDFactory() |
String |
getNewID() |
String |
getPrefix() |
int |
hashCode() |
String |
toString() |
public StringIDFromLongIDFactory(@Nonnull ILongIDFactory aLongIDFactory)
public StringIDFromLongIDFactory(@Nonnull ILongIDFactory aLongIDFactory, @Nonnull String sPrefix)
@Nonnull public ILongIDFactory getLongIDFactory()
@Nonnull public String getNewID()
getNewID in interface IIDFactory<String>null.Copyright © 2014–2016 Philip Helger. All rights reserved.