@Test public void testEquality() { VlanId vlan1 = VlanId.vlanId("None"); VlanId vlan2 = VlanId.vlanId((short) -1); VlanId vlan3 = VlanId.vlanId((short) 100); VlanId vlan4 = VlanId.vlanId((short) 100); new EqualsTester().addEqualityGroup(VlanId.vlanId(), vlan1) .addEqualityGroup(vlan1, vlan2) .addEqualityGroup(vlan3, vlan4) .addEqualityGroup(VlanId.vlanId((short) 10)); }
private VlanId() { super(UNTAGGED); }
VlanId extends Identifier<Short> { private VlanId() { super(UNTAGGED); } }
VlanId extends Identifier<Short> { private VlanId() { super(UNTAGGED); } private  VlanId(); private  VlanId(short value); }
VlanId extends Identifier<Short> { private VlanId() { super(UNTAGGED); } private  VlanId(); private  VlanId(short value); static VlanId vlanId(); static VlanId vlanId(short value); static VlanId vlanId(String value); short toShort(); @Override String toString(); }
VlanId extends Identifier<Short> { private VlanId() { super(UNTAGGED); } private  VlanId(); private  VlanId(short value); static VlanId vlanId(); static VlanId vlanId(short value); static VlanId vlanId(String value); short toShort(); @Override String toString(); static final short UNTAGGED; static final short ANY_VALUE; static final short NO_VID; static final short RESERVED; static final VlanId NONE; static final VlanId ANY; static final short MAX_VLAN; }