Skip to content

Commit

Permalink
Make IdGenerator a functional interface
Browse files Browse the repository at this point in the history
  • Loading branch information
arteam committed Jan 14, 2022
1 parent 848566c commit 86192fb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
/**
* Date: 24.08.14
* Time: 18:12
* Strategy for generation request identificators
* <p>
* A strategy for the generation of request ids
*/
@FunctionalInterface
public interface IdGenerator<T> {

T generate();
Expand Down

0 comments on commit 86192fb

Please sign in to comment.