Blog posts tagged with "arrays"

  • Bits of Java – Episode 13: From Arrays to Lists and vice versa

    In this episode I would like to discuss how to pass from an array to a list and vice versa, and which are the things to keep in mind once the conversion has been done. From *list* to *array*: to pass from a list to an array you can simply... [more]

  • Bits of Java – Episode 11: Compare and Search in Arrays

    This week I would like to talk about two methods of the Arrays class which I was not familiar with, and whose logic can be a bit tricky: Arrays.binarySearch and Arrays.compare. But first, let me briefly review what an array is. An array is a memory section which is reserved... [more]

  • subscribe via RSS