public class ErrorThrowingIdentifierSource extends Object implements IdentifierSource
IdentifierSource
which throws an error on every generation. Can be used as a 'fallback'
IdentifierSource when only explicitly-provided IDs should be used.Constructor and Description |
---|
ErrorThrowingIdentifierSource() |
public int calculateId(String name, Set<Integer> usedIds)
calculateId
in interface IdentifierSource
Copyright © 2009-2021 Performance Co-Pilot. All Rights Reserved.