Search This Blog

Total Pageviews

java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0

The * is a reserved character in RegEx. Escape the * using \\. Example: String [] linesplitter = line.split("\\*");

No comments:

BlockingQueue Applications

Java BlockingQueue is a versatile data structure that can be used in various real-time scenarios where multiple threads need to communicate ...