diff --git a/study/COLLECTIONS.MD b/study/COLLECTIONS.MD index c5048cd..5b5e288 100644 --- a/study/COLLECTIONS.MD +++ b/study/COLLECTIONS.MD @@ -45,4 +45,8 @@ All datastructures referenced here can be imported using `import java.util. stream()** | It returns a sequential Stream with the collection as its source. | | **default Spliterator spliterator()** | It generates a Spliterator over the specified elements in the collection. | | **public boolean equals(Object element)** | It matches two collections. | -| **public int hashCode()** | It returns the hash code number of the collection. | \ No newline at end of file +| **public int hashCode()** | It returns the hash code number of the collection. | + +Since all classes discussed onward inherit the `Collections` interface, you can be sure that a valid, working implementation exists for every single one of these methods. + +However, the real power comes from the next set of interfaces, and the special methods devised by each class to manipulate these complex data structures. \ No newline at end of file