All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.refcodes.codec.FrequencyThreshold Maven / Gradle / Ivy

Go to download

Artifact with encoding and decoding (not in terms of encryption/decryption) implementations (codecs) such as BASE64 encoding / decoding.

There is a newer version: 3.3.8
Show newest version
package org.refcodes.codec;

import org.refcodes.mixin.PercentAccessor;

/**
 * The Enum FrequencyThreshold.
 */
public enum FrequencyThreshold implements PercentAccessor {

	THRESHOLD_1(1), THRESHOLD_5(5), THRESHOLD_10(10), THRESHOLD_20(20);

	private int _percent;

	/**
	 * Instantiates a new frequency threshold.
	 *
	 * @param aThresholdPercent the threshold percent
	 */
	private FrequencyThreshold( int aThresholdPercent ) {
		_percent = aThresholdPercent;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public int getPercent() {
		return _percent;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy