Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - public class Main {
 - public static void main(String[] args){
 - int trailingZeroes = Integer.numberOfTrailingZeros("R".hashCode()) + 1;
 - System.out.println("A".hashCode());
 - HashPipe hp = new HashPipe();
 - hp.put("S", 0);
 - hp.put("E", 1);
 - hp.put("A", 2);
 - hp.put("R", 3);
 - hp.put("C", 4);
 - hp.put("H", 5);
 - hp.put("E", 6);
 - hp.put("X", 7);
 - hp.put("A", 8);
 - hp.put("M", 9);
 - hp.put("P", 10);
 - hp.put("L", 11);
 - hp.put("E", 12);
 - hp.printContent(0);
 - hp.printContent(1);
 - hp.printContent(2);
 - hp.printContent(3);
 - hp.printContent(4);
 - System.out.println(hp.control("E",0));
 - System.out.println(hp.control("L",0));
 - System.out.println(hp.control("L",2));
 - }
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment