SCALA CODE

Different methods are used in string operation – Scala

Reading Time: 3 minutes Scala Strings are one of the most important features of scala. Basically, it is a sequence of characters that uses the linear approach to store data. In scala, the string is immutable in nature and hence we cannot change its original state. Scala language provides us various methods to play with strings we can use these methods on strings to get the desired output. If Continue Reading

Bearded confident maintenance engineer in white shirt is working in database center

Some amazing Thread Methods which will make your task easy

Reading Time: 3 minutes Multithreading is one of the very important concepts in Scala programming. It allows us to create multiple threads in our program to perform various tasks. Now Scala Thread class provides us many methods which make our tasks easy. In this blog, we are going to discuss a few of these methods. Scala Thread Methods Scala threads provide us various methods to deal with threads. In Continue Reading

Data centre

Empty values in Scala

Reading Time: 3 minutes There are different values in scala which we used as empty values. In this blog, we are going to discuss these empty values like what are these values, how to use them, etc. Null Type Null extends all the reference types even the classes and traits which are defined by us. We can assign Null to the reference type (List, Option, etc) but not to Continue Reading

What is LRU cache and how to implement it in scala?

Reading Time: 2 minutes In this blog, we are going to know about LRU Cache and how to implement it in Scala Language. What is LRU Cache? Least Recently Used Cache is an algorithm used for cache eviction. As the name is suggesting Least Recently Used item will be evicted here. Basically, it removes the least recently used page/frame when the capacity or size of the cache is full Continue Reading