@Test public void testEquals() { assertEquals(new DescriptiveUrl(URI.create("http: assertNotEquals(new DescriptiveUrl(URI.create("http: assertEquals(new DescriptiveUrl(URI.create("http: assertEquals("http: }
@Override public boolean equals(final Object o) { if(this == o) { return true; } if(o == null || getClass() != o.getClass()) { return false; } final DescriptiveUrl that = (DescriptiveUrl) o; return Objects.equals(url, that.url); }
DescriptiveUrl { @Override public boolean equals(final Object o) { if(this == o) { return true; } if(o == null || getClass() != o.getClass()) { return false; } final DescriptiveUrl that = (DescriptiveUrl) o; return Objects.equals(url, that.url); } }
DescriptiveUrl { @Override public boolean equals(final Object o) { if(this == o) { return true; } if(o == null || getClass() != o.getClass()) { return false; } final DescriptiveUrl that = (DescriptiveUrl) o; return Objects.equals(url, that.url); } DescriptiveUrl(final URI url);  DescriptiveUrl(final URI url, Type type);  DescriptiveUrl(final URI url, Type type, final String help); }
DescriptiveUrl { @Override public boolean equals(final Object o) { if(this == o) { return true; } if(o == null || getClass() != o.getClass()) { return false; } final DescriptiveUrl that = (DescriptiveUrl) o; return Objects.equals(url, that.url); } DescriptiveUrl(final URI url);  DescriptiveUrl(final URI url, Type type);  DescriptiveUrl(final URI url, Type type, final String help); String getUrl(); Type getType(); String getHelp(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
DescriptiveUrl { @Override public boolean equals(final Object o) { if(this == o) { return true; } if(o == null || getClass() != o.getClass()) { return false; } final DescriptiveUrl that = (DescriptiveUrl) o; return Objects.equals(url, that.url); } DescriptiveUrl(final URI url);  DescriptiveUrl(final URI url, Type type);  DescriptiveUrl(final URI url, Type type, final String help); String getUrl(); Type getType(); String getHelp(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); static final DescriptiveUrl EMPTY; }