Regular Expressions are a key element in programming. There are times that you can save a lot of time with a simple Regex. As a lot of my teachers said while I was studying, it is an important thing that you should be familiar with. Regular Expressions are designed to help you define a pattern to search for in a String. You can use it to check whether a parameter is valid or to find a specific pattern of text in a large file. In Java, you’ll be using java.util.regex package to implement Regex logics to your project.Read More »Regular Expressions In Java
Search Results for: java
While Whatsappocalypse continues to grow at a rapid pace I’ve decided to take it to the next level and help you pay attention to a different aspect of mobile privacy. Many apps we’re using are collecting information about our devices and what’s in them. This might sound less creepy than WhatsApp spying on your chat but I can assure you it is not in the slightest way less important. I am talking about location, installed applications, device name, device model, etc. It might not feel very important but how would you feel if someone grabs your phone and views a list of installed applications, photos, downloaded files, and whatnot. But there is an option like Run Android Apps In Sandbox!Read More »Run Android Apps In Sandbox For Privacy [With Island]
Hello Everyone! I would like to share a trick that took me some time to figure out. I’ve started using Rider for Unreal Engine which is an IDE developed by JetBrains. As a full-time Backend Java developer, I use IntelliJ for development. So when I started my game development journey I was not too comfortable with the Visual Studio. You can guess the level of my excitement when I heard the news about an IDE for Unreal Engine developed by JetBrains. Needless to say, I’ve joined the test program as soon as it gets online and started to develop my games with the help of Rider. But the issue was, I didn’t know how to debug with Rider.Read More »Debug C++ with Rider for Unreal Engine
While creating test methods for a class, you might want to access some arguments passed to a specific method. Luckily, you can capture parameters with Mockito ArgumentCaptor. It is especially useful when you can’t access the argument from the outside of the method.
Let’s check it out on a basic example. Let’s say we have a class called
Product and we create stock codes for these objects before saving them to the database. So we’ve created a method called
generateProductCodeAndSave() which generates the code then passes the product to another method in order to insert it to the database.
Giriş Merhaba, Şimdi size kısaca Linux tabanlı bir işletim sistemin de (Benim şu anda kullandığım Linux tabanlı Ubuntu tabanlı bir işletim sistemi olan Elementary OS.… Read More »Linux de Android SDK (ADK) Kurulumu ve Hazırlanması [Resimli Anlatım]