@Test public void testStartWith() { assertThat(empty.startsWith(empty)).isTrue(); assertThat(empty.startsWith(single)).isFalse(); assertThat(empty.startsWith(dual)).isFalse(); assertThat(single.startsWith(empty)).isTrue(); assertThat(single.startsWith(single)).isTrue(); assertThat(single.startsWith(dual)).isFalse(); assertThat(dual.startsWith(empty)).isTrue(); assertThat(dual.startsWith(single)).isFalse(); assertThat(dual.startsWith(dual)).isTrue(); assertThat(dual.startsWith(WorkspaceFamily.parse("hello"))).isTrue(); }
@NonNull public static WorkspaceFamily parse(@NonNull String input) { return !input.isEmpty() ? new WorkspaceFamily(input.split("@", -1)) : EMPTY; }
WorkspaceFamily implements Id { @NonNull public static WorkspaceFamily parse(@NonNull String input) { return !input.isEmpty() ? new WorkspaceFamily(input.split("@", -1)) : EMPTY; } }
WorkspaceFamily implements Id { @NonNull public static WorkspaceFamily parse(@NonNull String input) { return !input.isEmpty() ? new WorkspaceFamily(input.split("@", -1)) : EMPTY; } private  WorkspaceFamily(String[] data); }
WorkspaceFamily implements Id { @NonNull public static WorkspaceFamily parse(@NonNull String input) { return !input.isEmpty() ? new WorkspaceFamily(input.split("@", -1)) : EMPTY; } 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 { @NonNull public static WorkspaceFamily parse(@NonNull String input) { return !input.isEmpty() ? new WorkspaceFamily(input.split("@", -1)) : EMPTY; } 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; }