@Test public void testToString() { String stringAddress = "25000/44"; ZigBeeEndpointAddress address = new ZigBeeEndpointAddress(stringAddress); assertEquals("61A8/44", address.toString()); }
@Override public String toString() { return String.format("%04X/%d", address, endpoint); }
ZigBeeEndpointAddress extends ZigBeeAddress { @Override public String toString() { return String.format("%04X/%d", address, endpoint); } }
ZigBeeEndpointAddress extends ZigBeeAddress { @Override public String toString() { return String.format("%04X/%d", address, endpoint); } ZigBeeEndpointAddress(int address);  ZigBeeEndpointAddress(int address, int endpoint);  ZigBeeEndpointAddress(String address); }
ZigBeeEndpointAddress extends ZigBeeAddress { @Override public String toString() { return String.format("%04X/%d", address, endpoint); } ZigBeeEndpointAddress(int address);  ZigBeeEndpointAddress(int address, int endpoint);  ZigBeeEndpointAddress(String address); @Override int getAddress(); @Override void setAddress(final int address); @Override boolean isGroup(); int getEndpoint(); void setEndpoint(final int endpoint); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(ZigBeeAddress that); @Override String toString(); }
ZigBeeEndpointAddress extends ZigBeeAddress { @Override public String toString() { return String.format("%04X/%d", address, endpoint); } ZigBeeEndpointAddress(int address);  ZigBeeEndpointAddress(int address, int endpoint);  ZigBeeEndpointAddress(String address); @Override int getAddress(); @Override void setAddress(final int address); @Override boolean isGroup(); int getEndpoint(); void setEndpoint(final int endpoint); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(ZigBeeAddress that); @Override String toString();  }