@Test public void testHalfWidthNotEquals() { FullHalfPair FullHalfPair1 = new FullHalfPair("ａ", "a"); FullHalfPair FullHalfPair2 = new FullHalfPair("ａ", "b"); assertThat(FullHalfPair1.equals(FullHalfPair2), is(false)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FullHalfPair that = (FullHalfPair) o; if (!fullwidth.equals(that.fullwidth)) { return false; } return halfwidth.equals(that.halfwidth); }
FullHalfPair implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FullHalfPair that = (FullHalfPair) o; if (!fullwidth.equals(that.fullwidth)) { return false; } return halfwidth.equals(that.halfwidth); } }
FullHalfPair implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FullHalfPair that = (FullHalfPair) o; if (!fullwidth.equals(that.fullwidth)) { return false; } return halfwidth.equals(that.halfwidth); } FullHalfPair(String fullwidth, String halfwidth); }
FullHalfPair implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FullHalfPair that = (FullHalfPair) o; if (!fullwidth.equals(that.fullwidth)) { return false; } return halfwidth.equals(that.halfwidth); } FullHalfPair(String fullwidth, String halfwidth); String fullwidth(); String halfwidth(); @Override boolean equals(Object o); @Override int hashCode(); }
FullHalfPair implements Serializable { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } FullHalfPair that = (FullHalfPair) o; if (!fullwidth.equals(that.fullwidth)) { return false; } return halfwidth.equals(that.halfwidth); } FullHalfPair(String fullwidth, String halfwidth); String fullwidth(); String halfwidth(); @Override boolean equals(Object o); @Override int hashCode();  }