Skip to content

Commit bf8a20b

Browse files
committed
add docs
1 parent 2176892 commit bf8a20b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
package it.aboutbits.springboot.toolbox.type;
22

3+
/**
4+
* Implementations should override `toString()` by forwarding
5+
* the `toString()` method of the wrapped value.
6+
* Or return `Objects.toString(value())`
7+
*/
38
public interface CustomType<T> {
49
T value();
510
}

0 commit comments

Comments
 (0)