src/org/jnetpcap/protocol/voip/Sip.java
public Code valueOf(final int code) {
			for (final Code c : values()) {
				if (c.code == code) {
					return c;
				}
			}

			return null;
		}
/**
		 * Converts a numerical code into a enum constant.
		 * 
		 * @param code
		 *          numerical code value
		 * @return constant if found or null if not convertable
		 */
Converts a numerical code into a enum constant.

@param code
numerical code value
@return constant if found or null if not convertable
Converts a numerical code into a enum constant . @param code numerical code value @return constant if found or null if not convertable
public Code valueOf(final int code) {
			for (final Code c : values()) {
				if (c.code == code) {
					return c;
				}
			}
			return null;
		}
public Code valueOf ( final int code ) { for ( final Code c : values ( ) ) { if ( c . code == code ) { return c ; } } return null ; }
Converts a numerical code into a enum constant.
Converts a numerical code into a enum constant .