/** * Returns the persistent search change type for the supplied integer constant. * * @param i to find change type for * * @return persistent search change type */ public static PersistentSearchChangeType valueOf(final int i) { for (PersistentSearchChangeType ct : PersistentSearchChangeType.values()) { if (ct.value() == i) { return ct; } } return null; } }
/** * Returns the persistent search change type for the supplied integer constant. * * @param i to find change type for * * @return persistent search change type */ public static PersistentSearchChangeType valueOf(final int i) { for (PersistentSearchChangeType ct : PersistentSearchChangeType.values()) { if (ct.value() == i) { return ct; } } return null; } }
/** * Returns the persistent search change type for the supplied integer constant. * * @param i to find change type for * * @return persistent search change type */ public static PersistentSearchChangeType valueOf(final int i) { for (PersistentSearchChangeType ct : PersistentSearchChangeType.values()) { if (ct.value() == i) { return ct; } } return null; } }