Interface StringMappable
- All Known Subinterfaces:
IArrayList<E>, IContainer<E>, ILinkedList<E>, IMatrix<E>, IMatrixColumn<E>, IMatrixRow<E>, ISqlRecord
- All Known Implementing Classes:
AbstractContainer, AbstractExtendedContainer, ArrayContainerView, ArrayList, ContainerView, FilterContainerView, ImmutableList, IntervallContainerView, IterableContainerView, LinkedList, MappingContainerView, Matrix, MatrixColumn, MatrixRow, MultiContainerView, SingleContainer, SqlRecord
public interface StringMappable
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptiontoStringWithSeparator(char separator) toStringWithSeparator(String separator)
-
Method Details
-
toConcatenatedString
String toConcatenatedString()- Returns:
- a concatenation of the
Stringrepresentations of the elements of the currentStringMappable.
-
toStringWithSeparator
- Parameters:
separator-- Returns:
- a concatenation of the
Stringrepresentations of the elements of the currentStringMappablewith the given separator in between.
-
toStringWithSeparator
- Parameters:
separator-- Returns:
- a concatenation of the
Stringrepresentations of the elements of the currentStringMappablewith the given separator in between. - Throws:
RuntimeException- if the given separator is null.
-