Skip to content

Commit 85feaf8

Browse files
committed
Renaming type param to conform convention in ModelProvider
1 parent 90bc75c commit 85feaf8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
package javax.visrec.util;
22

33
/**
4-
* This interface should be implemented if we want to allow access to underlying ML model
5-
* @author Zoran
6-
* @param <M>
4+
* This interface should be implemented by classes which expose access to underlying ML model
5+
*
6+
* @param <T> Type of underlying ML model
77
*/
8-
public interface ModelProvider<M> {
8+
public interface ModelProvider<T> {
99

10-
M getModel();
11-
12-
// also provide public setModel to allow model injection?
10+
T getModel();
1311

1412
}

0 commit comments

Comments
 (0)