public class WarningIdentifierSource extends Object implements IdentifierSource
IdentifierSource
which logs a warning on every generation, and returns a dummy value.
Useful for generating a list of IDs which should later be explicity-provided.Constructor and Description |
---|
WarningIdentifierSource(int initialId) |
public int calculateId(String name, Set<Integer> usedIds)
calculateId
in interface IdentifierSource
Copyright © 2009–2019 Performance Co-Pilot. All rights reserved.