4 Replies Latest reply on Jun 13, 2013 9:21 PM by TPD-Opitz

    Is array got from Enum static method "values()" intended as sorted?


      Hi all,

      my question is about the array you get when you call "values()" static method from an Enumeration.

      Is it intended as sorted by default? And in particular: can I use Arrays.binarySearch() with?


      Thank you.