Integers[]
Integers can be compared using the standard comparator operators.
== |
|
!= |
|
< |
|
<= |
|
> |
|
>= |
|
Strings[]
Strings can be compared using the same operators.
The == and != comparators check if a whole string is exactly the same as another one. The < comparator checks if one string comes before another. The following all return true.
apple < banana apple < Apple _apple < apple
These would all return false for the > operator.