Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 public class CCNE_Sample {
     public void compareClassEquals() {
         Object o = new CCNE_Sample();
         Object p = new CCNE_Sample();
         ..println(o.getClass().getName().equals(p.getClass().getName()));
     }
 
     public void fpCompareAgainstString(String name) {
         Object o = new CCNE_Sample();
        if (o.getClass().getName().equals(name))
            ..println("booya");
    }
New to GrepCode? Check out our FAQ X