Congratulations for getting started with R! If you are reading this sentence you have probably made up your mind to harness the power of R. This article prepares you for take-off in your flight with R, it provides a gentle introduction to R and how to go about setting it up on your computer. While… Continue reading Getting Started with R: Installing and Running R (Part 1)
Tag: Demo Program
Java Collections: EnumSet with Example
Enumset is a special kind of Java Set which is optimized for storing enum constants. Because Java is a strongly typed language, an EnumSet stores exactly one type of enum constants. Since the universe (the range of permitted values)of enum type is always finite, an EnumSet can be optimized in ways that other Set implementations… Continue reading Java Collections: EnumSet with Example
Java Collections: Problem Solving with Java Sets
In this article we will examine an extremely scaled-down version of a real life problem that can be solved using Java Set. For appreciating the choices made in the sample program presented here, you need to understand the differences between HashSet, LinkedHashSet and TreeSet. Problem Description A web based startup wishes to reward (distribute bonus, if you… Continue reading Java Collections: Problem Solving with Java Sets