Skip to content

Commit e4e5ed6

Browse files
ctruedenGabriel Selzer
andcommitted
ExampleTypes: Add Data interface, for type testing
Co-authored-by: Gabriel Selzer <gselzer@wisc.edu>
1 parent 72c6488 commit e4e5ed6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎src/test/java/org/scijava/ops/types/ExampleTypes.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
package org.scijava.ops.types;
3131

3232
import java.util.ArrayList;
33+
import java.util.List;
34+
import java.util.Map;
35+
import java.util.Set;
3336

3437
/**
3538
* Helper classes for {@link org.scijava.ops.types} tests.
@@ -69,4 +72,9 @@ public RedThing thing() {
6972

7073
public static class Bag<T extends Thing<T>> extends ArrayList<T> {}
7174

75+
public interface Data<K, V> {
76+
Map<K, V> map();
77+
Set<K> keySet();
78+
List<V> values();
79+
}
7280
}

0 commit comments

Comments
 (0)