public class JoinDescription extends Description
Description combining multiple Descriptions. It'll honor the nested descriptions and will indent
them as appropriate.| Constructor and Description |
|---|
JoinDescription(String prefix,
String suffix,
Collection<Description> descriptions)
Creates a new
. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
value() |
emptyIfNull, mostRelevantDescription, toStringpublic JoinDescription(String prefix, String suffix, Collection<Description> descriptions)
JoinDescription.prefix - The beginning part of this description.suffix - The ending part of this description.descriptions - The descriptions to combine.NullPointerException - if the given prefix is null.NullPointerException - if the given suffix is null.NullPointerException - if the given descriptions contains null elements or descriptions itself is
null.Copyright © 2025. All rights reserved.