complexity « performance « Java Testing Q&A

Home
Java Testing Q&A
1.Development
2.FindBugs
3.HTMLUnit
4.hudson
5.junit
6.performance
7.plugin
8.profile
9.selenium
10.Tools
11.unit test
Java Testing Q&A » performance » complexity 

1. Logging complexity and concern about MessageFormat performance    stackoverflow.com


My application uses log4j for logging and usually I do logging by checking whether a particular level is enabled and then log like the following

if(Logger.isApplicationDebugEnabled()){
   Logger.logApplicationDebug("something"+values);  
 ...

2. Time Complexity O() of isPalindrome()    stackoverflow.com

I have this method isPalindrome() and am trying to find the time complexity of it, and also rewrite the code more efficiently.

boolean isPalindrome(String s) {
  boolean bP = true;
  ...

3. Java CharAt() and deleteCharAt() performance    stackoverflow.com

I've been wondering about the implementation of charAt function for String/StringBuilder/StringBuffer in java what is the coomplexity of that ? also what about the deleteCharAt() in StringBuffer/StringBuilder ?

4. How do i change multiple references at once in Java?    stackoverflow.com

I have an array holding references for objects. I want to change some of those references in the array to another object. At the moment I use a for loop like ...

5. Java code PMD Complains about Cyclomatic Complexity , of 20    stackoverflow.com

When i ran PMD on my Java Code , one of the Error Message it is showing is "The class STWeb has a Cyclomatic Complexity , of 20 " . Typically ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.