Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While using join configurations is already rather simple, they tend to clutter up already rather verbose source code. While the initial creation of the JoinConfiguration already included a null configuration, accessible through 'JoinConfiguration#noSeparators', other standards or often used layouts were not added. This commit adds three more defaults/standards to the join configuration implementation that are exposed through static accessors in the join configuration interface. Specifically: newLines: A straight forward instance of the join configuraiton that uses the new line component to join together components. commas: Another straight forward instance of the join configuration that uses a single comma to join together components, creating a CSV like layout. arrayLike: A more complex join configuration that recreates the layout used by the java.util.Arrays#toString method. Resolves: #466
- Loading branch information
Showing
3 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters