ConverterClosure.java

biz/hammurapi/convert/ConverterClosure.java

Violations

Inspector Message Severity Location
Java Inspector 048 Copyrights information should be present in each file. 1

Source code

1package biz.hammurapi.convert;
2
3/**
4 * Closure interface for converters.
5 * @author Pavel
6 */
7public interface ConverterClosure {
8
9 /**
10 * Converts source to target type. Target type is known to the closure
11 * but not to the calling code.
12 * @param source
13 * @return Instance of target type.
14 */
15 Object convert(Object source);
16}
17