Package me.ahoo.cosid.converter
Class GroupedPrefixIdConverter
java.lang.Object
me.ahoo.cosid.converter.GroupedPrefixIdConverter
- All Implemented Interfaces:
Decorator<IdConverter>
,IdConverter
,Statistical
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
DEFAULT_DELIMITER
- See Also:
-
-
Constructor Details
-
GroupedPrefixIdConverter
-
-
Method Details
-
getActual
Description copied from interface:Decorator
Get decorator actual id generator.- Specified by:
getActual
in interfaceDecorator<IdConverter>
- Returns:
- actual id generator
-
getDelimiter
-
asString
Description copied from interface:IdConverter
convertlong
type ID toString
.- Specified by:
asString
in interfaceIdConverter
- Parameters:
id
-long
type ID- Returns:
String
type ID
-
asLong
Description copied from interface:IdConverter
convertString
type ID tolong
.- Specified by:
asLong
in interfaceIdConverter
- Parameters:
idString
-String
type ID- Returns:
long
type ID
-
stat
- Specified by:
stat
in interfaceIdConverter
- Specified by:
stat
in interfaceStatistical
-