Package adams.data

Class IntegerAnonymizer

    • Constructor Detail

      • IntegerAnonymizer

        public IntegerAnonymizer()
        Default constructor. Uses a random ID and buffer size 100.
      • IntegerAnonymizer

        public IntegerAnonymizer​(String id,
                                 int bufferSize)
        Initializes the anonymizer with a random seed value.
        Parameters:
        id - the ID of the anonymizer
        bufferSize - the size of the buffer for unused IDs
      • IntegerAnonymizer

        public IntegerAnonymizer​(String id,
                                 long seed,
                                 int bufferSize)
        Initializes the anonymizer.
        Parameters:
        id - the ID of the anonymizer
        seed - the seed value for the random number generator
        bufferSize - the size of the buffer for unused IDs
    • Method Detail