forked from jooby-project/jooby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDB.java
More file actions
41 lines (30 loc) · 743 Bytes
/
Copy pathDB.java
File metadata and controls
41 lines (30 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package apps;
import java.util.List;
public class DB {
public <T> T find(final int intValue) {
return null;
}
public <T> T find(final Class<T> class1, final int intValue) {
return null;
}
public <T> List<T> findAll(final int start, final int max) {
return null;
}
public <T> T create(final T body) {
return body;
}
public <T> T save(final T body) {
return body;
}
public <T> T delete(final int id) {
return null;
}
public <T> List<T> findAll(final Class<T> class1, final int start, final int max) {
// TODO Auto-generated method stub
return null;
}
public <T> T delete(final Class<T> class1, final int id) {
// TODO Auto-generated method stub
return null;
}
}