/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. * * @param right the character representing the right * @return the Right object */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }
/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. * * @param right the character representing the right * @return the Right object */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }
/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }
/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. * * @param right the character representing the right * @return the Right object */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }
/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. * * @param right the character representing the right * @return the Right object */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }
/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. * * @param right the character representing the right * @return the Right object */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }
/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. * * @param right the character representing the right * @return the Right object */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }
/** * Get a Right object representing the specified character. * Characters are assigned per RFC 2086. */ public static synchronized Right getInstance(char right) { if ((int)right >= 128) throw new IllegalArgumentException("Right must be ASCII"); if (cache[(int)right] == null) cache[(int)right] = new Right(right); return cache[(int)right]; }