Top Description Methods
tech.uom.lib.common.function

public Interface Coded<T>

Annotations
@FunctionalInterface
Type Parameters
<T>
the type of code

Interface for objects with a code. the code is of type T.

There is no requirement that a distinct result be returned each time the supplier is invoked, unless implementing classes enforce it.

This is a functional interface whose functional method is getCode().

Author
Werner KEIL
Since
1.0.2
Version
2.2 $Date: 2018/11/03 $

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

a code
getCode
()

Method Detail

getCodeback to summary
public T getCode()
Returns:T

a code