Its all about scope. Do you have a reference to SnailCommand from the other class (not a new one)? If not, then you need to make your HashSet static or move it somewhere else thats readily accessible (like the main class).
You don't call "Class.this.<method>" for that declaration. You would use the instance variable to access it: Code:java YourClass example = new YourClass(/*arguments*/);//with your map in mind...example.snail.get(/*some key*/); //example usage