Community driven content discussing all aspects of software development from DevOps to design patterns. Here are the most important concepts developers must know when they size Java arrays and deal ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
File, block and object are fundamental to how users and applications access and modify data storage. That’s been the case for decades, and the transition to the cloud has seen that remain so – but ...
Do you need to know how to sort Java objects in a collection, array, or map? Here's how to use the Comparable and Comparator interfaces and avoid ClassCastExceptions. Programmers frequently need to ...
Copying objects is a common Java programming operation that has one serious trap. Here's how to avoid copying from an object reference and only copy the instance and values you want. Copying objects ...
In the October 1950 issue of The Astronomical Journal, American astronomer Arthur Hoag states that the object “appears to be a perfectly symmetrical planetary nebula.” However, he acknowledged that ...
The Java Iterator is an all-purpose interface that simplifies looping through a collection of objects. Java's ListIterator provides all the functionality of the Iterator interface, with four ...
Digital versions of Where’s Waldo? or I-Spy, also known as hidden object games, are mechanically simple yet dizzyingly complex. The premise of finding items hidden in crowded spaces can create visual ...
We find that there are several inefficient usages of Java Collections: The contains method is invoked upon a list object in a loop. We recommend replacing it with a HashSet. Random access can occur at ...