ZOFTINO.COM android and web dev tutorials

Java Collections Map Tutorial

Map is a part of java collections framework and it holds keys and its values. For each key, there can be only one value. Map can’t contain duplicate keys.

Java Collections Deque Tutorial

Deque is a double ended queue, meaning it allows elements addition and removal at both ends of the queue. Deque implementations can be with fixed capacity or without capacity limitation on the number of elements it can hold.

Java LinkedTransferQueue Example

LinkedTransferQueue is an unbound blocking queue. It implements TransferQueue interface which allows producer to wait for consumer to receive elements.

Java DelayQueue Example

DelayQueue holds elements which can be taken after expiry of the specified delay. The elements to be added to DelayQueue needs to implement Delayed interface.

Java Collections Queue Tutorial

Queue is a collection which holds elements prior to processing. It provides operations to add, remove and examine elements.

Java List Tutorial

List is an ordered collection. It can contain null values and duplicate elements. It allows for accessing elements using their index or position.

Java Set Examples

Java Set is a collections interface and it contains non duplicate elements. Sub interfaces of set are SortedSet and NavigableSet. Implementations of Set are HashSet, EnumSet, LinkedHashSet and TreeSet.

Java Collections

Collections are containers of objects with functionality to add, remove, modify and aggregate objects.

Java Concurrency Fork Join Executor Examples

Fork join executor is similar to other executors provided in Java concurrency frame work in that it runs tasks on worker threads in a thread pool.

Java Concurrency Executors Framework Tutorial

Java executor framework allows separation of thread creation and management from the task or application logic which is executed on the thread.

Java Concurrency Lock and Condition Examples

Java concurrency framework provides external Locks which are similar to intrinsic lock obtained entering synchronized blocks but give flexibility and provide other features.

Java Multithreading and Concurrency

Running programs parallel improves application’s responsiveness. In this tutorial, you can learn how to write Java programs which can run parallel using threads.