Home » Archives for Chryssa Aliferi » Page 5

Author Archives: Chryssa Aliferi

Chryssa is a Computer Science graduate from Athens University of Economic and Business. During her studies, Chryssa carried out a great variety of projects ranging from networking to software engineering. She is very keen on front end development especially on mobile technologies and web applications. She has worked as a junior Software Engineer in the telecommunications area and currently works as an Android Developer.

Android SoundPool Example

When we want to create an Android application that has an Android Activity inside of which we are planning to play a sound sample, we should consider in the first place Android SoundPool class.The SoundPool class manages and plays audio resources for applications. The SoundPool helps developers to make a collection of samples, to load them into memory, not only ...

Read More »

Java String getBytes Example

We all know that every single piece of code consists of bytes. So do the Strings, this Java class type, that can represent text and words inside a Java program. In order to convert bytes into characters, Java needs to know what to represent, in which language, and what each character means in every language in the world. This is ...

Read More »

Java String isEmpty Example

When we talk about Strings in Java, we can imagine them as arrays of characters. An empty Java String, is considered as the not null String that contains zero charachers, meaning its length is 0. However, a Java String that might only contain the whitespace character is not considered as empty, it is considered to contain one character and its ...

Read More »

Java String intern Example

In Java, when we talk about String interning, we describe how Java stores only one copy of every distinct String value in the string pool, in order to reuse String objects to save memory from a program. This practically means, that each String object is stored only once in memory, regardless of how many times the same String may appear ...

Read More »

Java String lastIndexOf Example

As we disscused in a previous post about Java String indexOf() Example, many times we need to search for a character set in a Java String. Thus we need a “tool”, a method that will help us make it. So, in this example we are going to talk about identifying characters and subsequences of characters through Java Strings, with the method ...

Read More »

String indexOf Java Example

In this post, we feature a comprehensive String indexOf Java Example. We also describe an example of the lastIndexOf in Java . It is often important to search for a character or a character set in a Java String. For example, in the parsing of Java Strings, we might want to provide the possibility for a search through strings, in order to ...

Read More »