src/org/jnetpcap/packet/JRegistry.java
private static Entry createNewEntry(Class<? extends JHeader> c) {
		int id = LAST_ID;
		Entry e;
		mapByClassName.put(c.getCanonicalName(), e = new Entry(id, c));
		MAP_BY_ID[id] = e;

		LAST_ID++;

		return e;
	}
/**
	 * Creates a new header entry for storing information about a header.
	 * 
	 * @param c
	 *          header class
	 * @return newly created entry
	 */
Creates a new header entry for storing information about a header.

@param c
header class
@return newly created entry
Creates a new header entry for storing information about a header . @param c header class @return newly created entry
private static Entry createNewEntry(Class<? extends JHeader> c) {
		int id = LAST_ID;
		Entry e;
		mapByClassName.put(c.getCanonicalName(), e = new Entry(id, c));
		MAP_BY_ID[id] = e;
		LAST_ID++;
		return e;
	}
private static Entry createNewEntry ( Class < ? extends JHeader > c ) { int id = LAST_ID ; Entry e ; mapByClassName . put ( c . getCanonicalName ( ) , e = new Entry ( id , c ) ) ; MAP_BY_ID [ id ] = e ; LAST_ID ++ ; return e ; }
Creates a new header entry for storing information about a header.
Creates a new header entry for storing information about a header .