src/org/jnetpcap/protocol/tcpip/Tcp.java
public static Algorithm valueOf(int type) {
				for (Algorithm a : values()) {
					if (type == a.type) {
						return a;
					}
				}

				return null;
			}
/**
			 * Converts a numerical algorithm type to enum constant.
			 * 
			 * @param type
			 *          numerical type
			 * @return enum constant type
			 */
Converts a numerical algorithm type to enum constant.


Converts a numerical algorithm type to enum constant .
public static Algorithm valueOf(int type) {
				for (Algorithm a : values()) {
					if (type == a.type) {
						return a;
					}
				}
				return null;
			}
public static Algorithm valueOf ( int type ) { for ( Algorithm a : values ( ) ) { if ( type == a . type ) { return a ; } } return null ; }
Converts a numerical algorithm type to enum constant.
Converts a numerical algorithm type to enum constant .