laser.alphabet
Class IndexedAlphabetFactory.TestProbe

java.lang.Object
  extended by laser.alphabet.IndexedAlphabetFactory.TestProbe
Enclosing class:
IndexedAlphabetFactory

public class IndexedAlphabetFactory.TestProbe
extends java.lang.Object

Provides, for testing purposes only, methods necessary for testing the IndexedAlphabetFactory class that should not under any circumstances be invoked during normal operation.


Constructor Summary
IndexedAlphabetFactory.TestProbe()
          Creates a new TestProbe.
 
Method Summary
 void resetRepository()
          For testing purposes only! Creates a new, empty repository (which, for the purposes of the index of the largest existing IndexedLabel, acts as if none now exist).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexedAlphabetFactory.TestProbe

public IndexedAlphabetFactory.TestProbe()
Creates a new TestProbe.

Method Detail

resetRepository

public void resetRepository()
For testing purposes only! Creates a new, empty repository (which, for the purposes of the index of the largest existing IndexedLabel, acts as if none now exist). There may be references elsewhere to extant IndexedLabels, but the Factory will be ignorant of this, thus possibly breaking flyweighting.