EthernetAddress.compareTo(EthernetAddress other) Method

Definition

Method that compares this EthernetAddress to one passed in as argument. Comparison is done simply by comparing individual address bytes in the order.

public int compareTo(EthernetAddress other)

Parameters

Returns

int

negative number if this EthernetAddress should be sorted before the parameter address if they are equal, os positive non-zero number if this address should be sorted after parameter

Applies to