@Test public void testEquals() { assertThat(empty) .isEqualTo(WorkspaceFamily.parse("")) .isNotEqualTo(single) .isNotEqualTo(dual); assertThat(single) .isEqualTo(WorkspaceFamily.parse("single")) .isNotEqualTo(empty) .isNotEqualTo(dual); assertThat(dual) .isEqualTo(WorkspaceFamily.parse("hello@world")) .isNotEqualTo(empty) .isNotEqualTo(single); }
@Override public boolean equals(Object obj) { return this == obj || (obj instanceof WorkspaceFamily && equals((WorkspaceFamily) obj)); }
WorkspaceFamily implements Id { @Override public boolean equals(Object obj) { return this == obj || (obj instanceof WorkspaceFamily && equals((WorkspaceFamily) obj)); } }
WorkspaceFamily implements Id { @Override public boolean equals(Object obj) { return this == obj || (obj instanceof WorkspaceFamily && equals((WorkspaceFamily) obj)); } private  WorkspaceFamily(String[] data); }
WorkspaceFamily implements Id { @Override public boolean equals(Object obj) { return this == obj || (obj instanceof WorkspaceFamily && equals((WorkspaceFamily) obj)); } private  WorkspaceFamily(String[] data); @NonNull static WorkspaceFamily of(@NonNull Id id); @NonNull static WorkspaceFamily parse(@NonNull String input); @Override String get(int index); @Override WorkspaceFamily extend(String tail); @Override WorkspaceFamily parent(); @Override int getCount(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); @Override String[] toArray(); }
WorkspaceFamily implements Id { @Override public boolean equals(Object obj) { return this == obj || (obj instanceof WorkspaceFamily && equals((WorkspaceFamily) obj)); } private  WorkspaceFamily(String[] data); @NonNull static WorkspaceFamily of(@NonNull Id id); @NonNull static WorkspaceFamily parse(@NonNull String input); @Override String get(int index); @Override WorkspaceFamily extend(String tail); @Override WorkspaceFamily parent(); @Override int getCount(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); @Override String[] toArray(); static final WorkspaceFamily SA_MULTI; static final WorkspaceFamily SA_DOC_X13; static final WorkspaceFamily SA_DOC_TRAMOSEATS; static final WorkspaceFamily SA_SPEC_X13; static final WorkspaceFamily SA_SPEC_TRAMOSEATS; static final WorkspaceFamily MOD_DOC_REGARIMA; static final WorkspaceFamily MOD_DOC_TRAMO; static final WorkspaceFamily MOD_SPEC_REGARIMA; static final WorkspaceFamily MOD_SPEC_TRAMO; static final WorkspaceFamily UTIL_CAL; static final WorkspaceFamily UTIL_VAR; }