I was working with a variable that I had declared as an Integer and discovered that > is not a member of Integer. Here\'s a simple example:
scala> i warni
Integer gets imported from java.lang.Integer and is only for compatibility with Java. Since it is a Java class, of course it can't have a method called "<".
EDIT: You can mitigate this problem by declaring an implicit conversion from Integer to Int.