Scala Collections – Find Method
This topic is about Scala Collections - Find Method. find() method is method used by Iterators to find an element which satisfies a given predicate. Syntax The following is the…
This topic is about Scala Collections - Find Method. find() method is method used by Iterators to find an element which satisfies a given predicate. Syntax The following is the…
This topic is about Scala Collections - Filter Method. filter() method is method used by List to select all elements which satisfies a given predicate. Syntax The following is the…
This topic is about Scala Collections - DropWhile Method. dropWhile() method is method used by List to drop all elements which satisfies a given condition. Syntax The following is the…
This topic is about Scala Collections - Drop Method. drop() method is method used by List to select all elements except first n elements of the list. Syntax The following…
This topic is about Scala Collections - Stream. Scala Stream is special list with lazy evaluation feature. In scala stream, elements are evaluated only when they are needed. Stream supports…
This topic is about Scala Collections - Stack. Stack is Last In First Out, LIFO data structure and allows to insert and retrieve element at top, in LIFO manner. Declaring…
This topic is about Scala Collections - Seq. Scala Seq is a trait to represent immutable sequences. This structure provides index based access and various utility methods to find elements,…
This topic is about Scala Collections - Tuple. Scala tuple combines a fixed number of items together so that they can be passed around as a whole. Unlike an array…
This topic is about Scala Collections - Queue. Queue is First In First Out, FIFO data structure and allows to insert and retrieve elements in FIFO manner. Declaring Queue Variables…
This topic is about Scala Collections - Option. Scala Option[ T ] is a container for zero or one element of a given type. An Option[T] can be either Some[T] or None object, which…