public static boolean inPool(String s) { String s2 = s.intern(); if (s2 == s) return true; return false; }