Java java.util Collection Operation

Java examples for java.util:Collection Operation

Description

Click the following links for the tutorial for java.util and Collection Operation.

  1. print Collection
  2. merge two Collection
  3. set Intersection for Collection
  4. Gets the underlying collection wrapped by Collections.unmodifiableCollection(...)
  5. Indicates if the collection has been wrapped by Collections.unmodifiableCollection(...)
  6. check Content of a Collection by instanceof operator
  7. conjunct Collections
  8. Update a collection using a minimal update strategy and updating the collection in place.


  9. Given any of the known collection types, this method will return an instance of the collection.
  10. aggregate array of Collections
  11. Creates a string representation according to the java.util.AbstractCollection#toString() method, with a limited length param.
  12. minus one collection from another collection
  13. Check if collection is null or empty.
  14. clean Nulls from Collection
  15. Check a collection is empty or not.
  16. Using like isEmpty but it check a collection is not empty or not.


  17. Replaces the content of one Collection with the content of another one without checking equality.
  18. Replaces the content of one Collection with the content of another one if they are not equal.
  19. Replaces the content of one Collection with the content of another one, clearing the source Collection first, if they are not equal.
  20. Executes a Function on each item in a Collection and collects all the entries for which the result of the function is equal to Boolean true.
  21. Construct a string by toString() each item in the collection with inBetween between each item.
  22. make Collection from Iterator
  23. Partitions a collection into groups based on a characteristics of that group.
  24. Removes all duplicates from the given Collection .
  25. Merge collections a and b into target.
  26. unmodifiable Collection
  27. check if Collection contains Any passed in objects
  28. Are two collection have same Content
  29. Check if the given collection contains the given object instance.
  30. Count the number of occurrences in a given collection.
  31. Determine the index position of the first occurrence of the given object instance in the given collection.
  32. Create new Collection from class Type and length
  33. diff between two collection
  34. Print collection to console
  35. Determine whether the given Collection only contains a single unique object.
  36. get Different with No Duplicate between two collection
  37. get Last Item from a Collection
  38. reverse collection
  39. Return the junction between two Collection