KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > transparency > NotInstrumented


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest.transparency;
5
6 /**
7  * TODO Nov 3, 2004: I, steve, am too lazy to write a single sentence describing what this class is for.
8  */

9 public class NotInstrumented {
10   private Object JavaDoc o = new Object JavaDoc();
11
12   public NotInstrumented() {
13     super();
14     o.getClass();
15   }
16
17   public boolean equals(Object JavaDoc o2) {
18     if (this == o2) return true;
19     if (o2 instanceof NotInstrumented) { return true; }
20     return false;
21   }
22
23 }
Popular Tags