public static BitField getInstance(int mask) {BitField f = instances.get(Integer.valueOf(mask));if (f == null) {f = new BitField(mask);instances.put(Integer.valueOf(mask), f);}return f;}
public static BitField GetInstance(int mask){BitField f = (BitField)instances[mask];if (f == null){f = new BitField(mask);instances[mask] = f;}return f;}