Sweetener - Strings

26 May 2015 on java, sweetener, strings

There is no person who would not know the String class. To facilitate the work of this class, has been created ‘Strings’. We have created such methods as : join, numberOfOccurrences, removeAllOccurrences, indexesOf, groups, random, pad, capitalize, capitalizeAllWords, isWhitespace, containsOnly, isEmpty, singleLine, removeNewLines, reverse, repeat, isAlpha, isAlphaWithWhitespace, isNumeric, isAlphanumeric, isAlphanumericWithWhitespace

Sweetener - Reflections

25 May 2015 on java, sweetener, reflections

The main problem of working with reflection is that, you can only refer to the properties of the given class. If the property you are looking for is declared in the base class, you have a problem, and you are forced to move iteratively throughout the class hierarchy. This problem does not exists in any method of Reflections class.

Sweetener - Objects

25 May 2015 on java, sweetener, objects

Class Objects, being the first class of sweetener project, provides set of methods to facilitate work with Object known from core of Java language. Among the most popular methods are: deep copy, comparison two object (possible also null object) and null-safe methods.

Sweetener - Collections - New methods

24 May 2015 on java, sweetener, collections

Today, I would like to introduce you new methods of pl.jsolve.sweetener.collection.Collections class. Classes included in the package ‘collection’ provides a set of methods to facilitate the work of well-known classes from the core Java: List, Set, Map, array as well.

Sweetener - Escapes

23 May 2015 on java, sweetener, Strings, Escapes

Everyone, sooner or later, must face with escaping characters problem. For this reason we have created a special class Escapes as part of sweetener project, which goal is solve this problem. Escapes class contains five special methods to escape special characters for:

Previous Page: 2 of 3 Next