SHOW:
|
|
- or go back to the newest paste.
| 1 | package net.minecraf.molamps.src; | |
| 2 | ||
| 3 | public class freq {
| |
| 4 | - | public static Boolean[] Freq = new Boolean[16]; |
| 4 | + | public static boolean[] freq = new Boolean[16]; |
| 5 | ||
| 6 | public static void setFreq(int x[]) {
| |
| 7 | ||
| 8 | for(int i = 0; i < x.length; i++) {
| |
| 9 | if(x[i] == 1) | |
| 10 | {
| |
| 11 | - | Freq[i] = true; |
| 11 | + | freq[i] = true; |
| 12 | } | |
| 13 | else | |
| 14 | {
| |
| 15 | - | Freq[i] = false; |
| 15 | + | freq[i] = false; |
| 16 | } | |
| 17 | } | |
| 18 | } | |
| 19 | - | public static Boolean[] getFreq() {
|
| 19 | + | public static boolean[] getFreq() {
|
| 20 | - | return Freq[]; |
| 20 | + | return freq; |
| 21 | } | |
| 22 | ||
| 23 | } |