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

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

    Patcha

      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.

      Adriano