src/org/jnetpcap/util/resolver/IEEEOuiPrefixResolver.java
@Override
	public long toHashCode(byte[] address) {
		return ((address[2] < 0) ? address[2] + 256 : address[2])
				| ((address[1] < 0) ? address[1] + 256 : address[1]) << 8
				| ((address[0] < 0) ? address[0] + 256 : address[0]) << 16;
	}
/**
	 * Generates a special hashcode for first 3 bytes of the address that is
	 * unique for every address.
	 * 
	 * @param address
	 *          the address
	 * @return the long
	 */
Generates a special hashcode for first 3 bytes of the address that is
unique for every address.

@param address
the address
@return the long
Generates a special hashcode for first 3 bytes of the address that is unique for every address . @param address the address @return the long
@Override
	public long toHashCode(byte[] address) {
		return ((address[2] < 0) ? address[2] + 256 : address[2])
				| ((address[1] < 0) ? address[1] + 256 : address[1]) << 8
				| ((address[0] < 0) ? address[0] + 256 : address[0]) << 16;
	}
@ Override public long toHashCode ( byte [ ] address ) { return ( ( address [ 2 ] < 0 ) ? address [ 2 ] + 256 : address [ 2 ] ) | ( ( address [ 1 ] < 0 ) ? address [ 1 ] + 256 : address [ 1 ] ) << 8 | ( ( address [ 0 ] < 0 ) ? address [ 0 ] + 256 : address [ 0 ] ) << 16 ; }
Generates a special hashcode for first 3 bytes of the address that is
 unique for every address.
Generates a special hashcode for first 3 bytes of the address that is unique for every address .