Created
February 7, 2012 18:28
-
-
Save ctrueden/1761121 to your computer and use it in GitHub Desktop.
Typing seems OK here...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// OpsTyping.java | |
// | |
import net.imglib2.type.numeric.ComplexType; | |
import net.imglib2.type.numeric.RealType; | |
public class OpsTyping { | |
public <V extends ComplexType<V>> void complex(V arg) { | |
// | |
} | |
public <T extends RealType<T>> void real(T arg) { | |
complex(arg); | |
} | |
public <V extends ComplexType<V>> void complexOp(ComplexOp<V> op) { | |
} | |
public <T extends RealType<T>> void realOp(RealOp<T> op) { | |
complexOp(op); | |
} | |
public class ComplexOp<V extends ComplexType<V>> { } | |
public class RealOp<T extends RealType<T>> extends ComplexOp<T> { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment