Tag: set
Spring Setter Injection, Dependency In The Form Of Collections
by  Java4s | 15 Comments
  [ Ask Question ]
While creating spring bean (pojo class), the bean class can use any of the following 4 types of collections as dependency, along with some primitives and objects like previous sessions.. Set List Map Properties Spring supports these 4 collections…
Difference between Java Set, List and Map Collections?
by  Java4s | 14 Comments
  [ Ask Question ]
Let us see the main differences between Set,List,Map java collections.. Set (Interface) Set is an un-ordered collection which doesn’t allows duplicate (no-duplicate) elements We can iterate the values by calling iterator() method Set s = new HashSet(); Iterator iter…