ps.setString("ps","1.0"); boolean b = ps.getBoolean("pb",false); assertTrue(b); int i = ps.getInt("pi",0); assertTrue(s.equals("1.0")); b = ps.getBoolean("qb",false); assertTrue(!b); i = ps.getInt("qi",0);
ps.setString("ps","1.0"); boolean b = ps.getBoolean("pb",false); assertTrue(b); int i = ps.getInt("pi",0); assertTrue(s.equals("1.0")); b = ps.getBoolean("qb",false); assertTrue(!b); i = ps.getInt("qi",0);