mjc

org.multijava.mjc
Class CClass.NoDupStrategy

java.lang.Object
  extended byorg.multijava.mjc.CClass.NoDupStrategy
All Implemented Interfaces:
CMethodSet.Strategy
Direct Known Subclasses:
CClass.CClass$1, CClass.CClass$2, CClass.CClass$3, CClass.CClass$4, CClass.CClass$5, CClass.CClass$6
Enclosing class:
CClass

protected abstract class CClass.NoDupStrategy
extends Object
implements CMethodSet.Strategy

This class is a specialization of CMethodSet.Strategy that keeps track of which CClass instances have already been searched for appropriate methods. The various lookup methods below will create appropriate subclasses of this class, using it to ensure that they do not search a class more than once.


Field Summary
protected  Set already_searched
           
 
Fields inherited from interface org.multijava.mjc.CMethodSet.Strategy
DONE_WITH_ACCUM, IGNORE_CURRENT, REMOVE_ACCUM
 
Constructor Summary
protected CClass.NoDupStrategy()
           
 
Method Summary
 boolean alreadySearched(CClass cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.multijava.mjc.CMethodSet.Strategy
maybeInclude, resultFor
 

Field Detail

already_searched

protected Set already_searched
Constructor Detail

CClass.NoDupStrategy

protected CClass.NoDupStrategy()
Method Detail

alreadySearched

public boolean alreadySearched(CClass cls)

mjc

mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.