src/secretwriting/MonoalphabeticCipher.java
private void solveFrequencyTypes(char[] c, String s) {
		if (s.isBlank() || EnglishDeterminer.isInteger(s)) {
			return;
		}
		char replacedLetter = s.charAt(0);
		for (char solvedLetter : c) {
			if (replaceLetters(replacedLetter, solvedLetter)) {
				System.out.println(Character.toString(replacedLetter) + " was replaced with " + Character.toString(solvedLetter));
				return;
			}
		}
	}
/**  
	 * Overload for position letters
	 * Runs all needed conditions and loops to replace letters and ultimately use frequency analysis algorithms
	 * <br>
	 * A frequency type is the frequency of a property or position of words and letters 
	 * @param c The array from AlphabeticalStatistics.java from the alphastats package containing the order of frequencies of a type of letter
	 * @param p The Pair that is replacing another letter in the ciphertext with the highest of the frequency type 
	 * @example Initial letters - c = AlphabeticalStatistics.INITIAL_LETTERS, p = mostFrequentInitialLetter
	 * @invokes replaceLetters(String, String)
	 */
Overload for position letters
Runs all needed conditions and loops to replace letters and ultimately use frequency analysis algorithms

A frequency type is the frequency of a property or position of words and letters
@param c The array from AlphabeticalStatistics.java from the alphastats package containing the order of frequencies of a type of letter
@param p The Pair that is replacing another letter in the ciphertext with the highest of the frequency type
@example Initial letters - c = AlphabeticalStatistics.INITIAL_LETTERS, p = mostFrequentInitialLetter
@invokes replaceLetters(String, String)
Overload for position letters Runs all needed conditions and loops to replace letters and ultimately use frequency analysis algorithms A frequency type is the frequency of a property or position of words and letters @param c The array from AlphabeticalStatistics . java from the alphastats package containing the order of frequencies of a type of letter @param p The Pair that is replacing another letter in the ciphertext with the highest of the frequency type @example Initial letters - c = AlphabeticalStatistics . INITIAL_LETTERS p = mostFrequentInitialLetter @invokes replaceLetters ( String String )
private void solveFrequencyTypes(char[] c, String s) {
		if (s.isBlank() || EnglishDeterminer.isInteger(s)) {
			return;
		}
		char replacedLetter = s.charAt(0);
		for (char solvedLetter : c) {
			if (replaceLetters(replacedLetter, solvedLetter)) {
				System.out.println(Character.toString(replacedLetter) + " was replaced with " + Character.toString(solvedLetter));
				return;
			}
		}
	}
private void solveFrequencyTypes ( char [ ] c , String s ) { if ( s . isBlank ( ) || EnglishDeterminer . isInteger ( s ) ) { return ; } char replacedLetter = s . charAt ( 0 ) ; for ( char solvedLetter : c ) { if ( replaceLetters ( replacedLetter , solvedLetter ) ) { System . out . println ( Character . toString ( replacedLetter ) + " was replaced with " + Character . toString ( solvedLetter ) ) ; return ; } } }
Overload for position letters
 Runs all needed conditions and loops to replace letters and ultimately use frequency analysis algorithms
 <br>
 A frequency type is the frequency of a property or position of words and letters
 @param c The array from AlphabeticalStatistics.java from the alphastats package containing the order of frequencies of a type of letter
 @param p The Pair that is replacing another letter in the ciphertext with the highest of the frequency type
 @example Initial letters - c = AlphabeticalStatistics.INITIAL_LETTERS, p = mostFrequentInitialLetter
 @invokes replaceLetters(String, String)
Overload for position letters Runs all needed conditions and loops to replace letters and ultimately use frequency analysis algorithms <br > A frequency type is the frequency of a property or position of words and letters @param c The array from AlphabeticalStatistics . java from the alphastats package containing the order of frequencies of a type of letter @param p The Pair that is replacing another letter in the ciphertext with the highest of the frequency type @example Initial letters - c = AlphabeticalStatistics . INITIAL_LETTERS p = mostFrequentInitialLetter @invokes replaceLetters ( String String )