It's most likely an error the programmer missed, bc some ide's will automatically add the greater than sign when you type the less than sign first.
e.g. eclipse will convert <
to <>
, you just got to remember to delete the second operand.
this operator <>
is actually a not equal to (!=
) operator in other languages, like sql for example.
lastly like everybody else said, this <>
expression is for generics in java.