@Test public void testHash() { ExtendedPanId address1 = new ExtendedPanId("17880100dc880b"); ExtendedPanId address2 = new ExtendedPanId("17880100dc880b"); assertEquals(address1.hashCode(), address2.hashCode()); }
@Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(panId); return result; }
ExtendedPanId { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(panId); return result; } }
ExtendedPanId { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(panId); return result; } ExtendedPanId();  ExtendedPanId(BigInteger panId);  ExtendedPanId(String panId);  ExtendedPanId(int[] panId); }
ExtendedPanId { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(panId); return result; } ExtendedPanId();  ExtendedPanId(BigInteger panId);  ExtendedPanId(String panId);  ExtendedPanId(int[] panId); int[] getValue(); boolean isValid(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ExtendedPanId createRandom(); }
ExtendedPanId { @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + Arrays.hashCode(panId); return result; } ExtendedPanId();  ExtendedPanId(BigInteger panId);  ExtendedPanId(String panId);  ExtendedPanId(int[] panId); int[] getValue(); boolean isValid(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ExtendedPanId createRandom();  }