Java

  • Using Java's Reflection API to Invoke Private Methods
  • How to properly Unit Test your code without changing the design
  • Feb. 9, 2015, 3:10 p.m.
  • In order to properly create software we need to write Unit Tests. Most of the time this is pretty straight forward, however, occasionally our software contains private methods that need to be tested. You may try to get around this by just testing the public methods that call these private me...

  • Continue reading
  • Finding the Simplest Possible Solution
  • Never stop thinking to write the cleanest possible code
  • Nov. 26, 2014, 6 a.m.
  • When tasked with creating a new feature we normally instantly start thinking of possible ways to implement it. Generally, we can quickly come up with some sort of an idea that we believe will suffice, and begin to implement our feature. We get right to work and our ideas start coming to life...

  • Continue reading
  • Sorting Algorithms
  • Some basic sorting algorithms implemented in Java and timed
  • May 18, 2014, 12:56 p.m.
  • I wanted some more Java practice before I start my new job as a Software Engineer working with Java, so I decided to implement some basic sorting algorithms and time them. For each algorithm I chose to start by coping the ArrayList into a new one as to preserve the original input. I started ...

  • Continue reading
  • Interview prep and Java refreshers
  • Some practice questions and solutions implemented in Java
  • April 27, 2014, 10:48 p.m.
  • In preparation for upcoming interviews for a Software Engineering position, I have decided to post some practice questions and my solutions to them. If you are able to think of a better way to solve any of the questions I would appreciate hearing it. I chose to implement these solutions in J...

  • Continue reading

Categories