Class IPv6NDLinkLayerAddressCriterion

  • All Implemented Interfaces:
    Criterion

    public final class IPv6NDLinkLayerAddressCriterion
    extends Object
    implements Criterion
    Implementation of IPv6 Neighbor Discovery link-layer address criterion.
    • Method Detail

      • type

        public Criterion.Type type()
        Description copied from interface: Criterion
        Returns the type of criterion.
        Specified by:
        type in interface Criterion
        Returns:
        type of criterion
      • mac

        public MacAddress mac()
        Gets the MAC link-layer address to match.
        Returns:
        the MAC link-layer address to match
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object