Java TimeZone Class Example

java-thumbnail

TimeZone is an abstract class which defines as standard time followed within a geographical area for the use with the Gregorian calendar. The TimeZone class allows working with TimeZone offset based on Greenwich Mean Time (GMT) which is referred as Coordinated Universal Time. It also sets a daylight saving time. By using getDefault TimeZone, it […]

Java PriorityQueue Class Example

java-thumbnail

In the PriorityQueue, elements are ordered in accordance to their natural ordering or the order defined by the Comparator. Comparator is the factor which compares the elements for the ordering purpose. These are defined at the queue construction time which decides the ordering of elements in the queue, based on the type of constructor used. […]

Java Locale Class Example

java-thumbnail

A locale is a set of parameters which represents specific locale such as geographic region or political region that shares the same language and customs. A locale object may includes user’s language, country, and any special variant preferences that user needs. A Locale class which requires operation to perform its task is called as locale-sensitive […]

Bootstrap Media Object

bootstrap-thumbnail

The media object is an image to the left with descriptive content to the right. It allows abstract object styles for creating various components like blog comments, tweets etc. The main purpose of the media object is to provide block of the information related particular media such as images, video or audio. The goal of […]

Bootstrap Progress Bars

bootstrap-thumbnail

In general, the progress bar is a graphical user interface used to visualize progression of computer operation such as file download, file transfer, showing action status to the users or installation of files. For instance, consider a task running within program that might take a while to complete. It provides some indication to user that […]

Java HashSet Example

java-thumbnail

HashSet is a collection of unique elements (objects). The HashSet is available with collection package and extends AbstractSet and implements the set interface. The below diagram shows the HashSet class hierarchy where HashSet is extended from the AbstractSet where AbstractSet implements the set interface and AbstractCollection which is extend from collection framework where collection framework […]

Java HashTable Example

java-thumbnail

Collection framework is collections of interfaces, implementations and algorithms, which are used to store, retrieve and manipulate the data. In the version of Java 1.0, HashTable was introduced where it did not use map. This version was upgraded in java 1.2, to implement Map interface making it as part of the Java Collections framework. HashTable […]

Java HashMap Example

java-thumbnail

HashMap is collection which stores in the form of key-value pairs, where key is reference and value is actual data. HashMap always works on the principle of hashing to transform key-value pairs into the map. It uses hash table to store the map. It contains unique elements. We cannot use duplicate data for the keys […]

Java LinkedList Example

java-thumbnail

LinkedList contains group of elements in the form of nodes. The linked lists are used to store array of data. It is a linear data structure in which each element is separate object. LinkedList contains set of nodes. Each node contains some of the data and link to the next node. When link of next […]

Bootstrap Thumbnails

bootstrap-thumbnail

Bootstrap provides .thumbnail class which is used for creating grid of images, text and more gives thumbnail like styles to images. We require grid of images or videos for creating the good user experience in the web. They are used to show linked images in grids with minimum required markup. Thumbnails are implemented on web […]