Skip to content

Commit

Permalink
Add static helper append() method
Browse files Browse the repository at this point in the history
  • Loading branch information
Alemiz112 committed Oct 28, 2023
1 parent 4382d12 commit c810a55
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ static <T> PreparedLocalString<T> prepared(LocalString<T> string) {
return new PreparedLocalString<>(string);
}

static <T> LocalString<T> append(String text, LocalString<T> toAppend) {
return new JoinLocalString<>(wrapper(text), toAppend);
}

String getKey();

LocalString<T> reload();
Expand Down

0 comments on commit c810a55

Please sign in to comment.