Package org.jdesktop.swingx.util
Class Separator<T>
- java.lang.Object
-
- org.jdesktop.swingx.util.Separator<T>
-
- Type Parameters:
T
- the type of separator
public class Separator<T> extends java.lang.Object
A simple separator for adding in between each element in a list.for (String s : strings) { stringBuilder.append(separator.get().append(s); }
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
Returns the current value of the separator.
-
-
-
Method Detail
-
get
public T get()
Returns the current value of the separator.- Returns:
- the separator value
-
-