Programming for beginners

This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)

  • Home
  • ABAP
  • Brainfuck
  • C#
  • Caching
  • Databases
  • Docker and Kubernetes
  • Documentation
  • Elasticsearch
  • Go
  • Groovy
  • Hadoop
  • Haskell
  • Java
  • JavaScript
  • Julia
  • Kotlin
  • Nexus
  • Node.js
  • Prolog Tutorial
  • Python
  • R Tutorial for beginners
  • Spring Framework
  • XML
  • YAML

Friday, 11 November 2022

Collection programs in Java

      How to check the object is an iterable or not?
      How to check the type or object is a map or not?
      Get a map from array in Java
      Convert an iterator to set in Java
      Convert an enumeration to set in Java
      Convert an enumeration to Iterable in Java
      Convert an array to set in Java
      Get the string representation of an Iterable
      Convert an Iterable to List in Java
      Convert an Iterable to a Set in Java
      Get the last element from a collection in Java
      Implement stack data structure using List
      Get a composite unmodifiable array list from two arrays
      Join the collection elements by a separator using streams
      Get the stream from an iterator in Java
      Get the stream from Enumeration in Java
      LinkedHashTable implementation in Java
      Get the enumeration from a Collection
      Get the enumeration from an Iterator in Java
      Get a map from enum in Java
      Construct a map from array of objects using streams
      Implement Multiset in Java

 

Posted by Krishna at 18:01
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: collectios, Java, programs

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Top 40 Javablogs by feedspot

My Blog is selected as one of the Top 40 Java Blogs by FeedSpot. I am very honored and thankful to be part of this list. Please go ahead and check out the other featured blogs, there is very interesting content available....

Java Blogs
Simple theme. Powered by Blogger.