src/org/jnetpcap/PcapDLT.java
public static PcapDLT valueOf(int value) {
		final PcapDLT[] values = values();
		final int length = values.length;
		
		for (int i = 0; i < length; i++) {
	    if (values[i].value == value) {
	    	return values[i];
	    }
	    
    }
		
		return null;
	}
/**
	 * Converts an integer value into a PcapDLT constant.
	 * @param value Pcap DLT integer value to convert
	 * @return constant assigned to the DLT integer, or null if not found
	 */
Converts an integer value into a PcapDLT constant.
@param value Pcap DLT integer value to convert
@return constant assigned to the DLT integer, or null if not found
Converts an integer value into a PcapDLT constant . @param value Pcap DLT integer value to convert @return constant assigned to the DLT integer or null if not found
public static PcapDLT valueOf(int value) {
		final PcapDLT[] values = values();
		final int length = values.length;
		for (int i = 0; i < length; i++) {
	    if (values[i].value == value) {
	    	return values[i];
	    }
    }
		return null;
	}
public static PcapDLT valueOf ( int value ) { final PcapDLT [ ] values = values ( ) ; final int length = values . length ; for ( int i = 0 ; i < length ; i ++ ) { if ( values [ i ] . value == value ) { return values [ i ] ; } } return null ; }
Converts an integer value into a PcapDLT constant.
Converts an integer value into a PcapDLT constant .