laser.alphabet
Class StringAlphabetFactory.TestProbe

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

public class StringAlphabetFactory.TestProbe
extends java.lang.Object

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


Constructor Summary
StringAlphabetFactory.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 StringLabel, 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

StringAlphabetFactory.TestProbe

public StringAlphabetFactory.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 StringLabel, acts as if none now exist). There may be references elsewhere to extant StringLabels, but the Factory will be ignorant of this, thus possibly breaking flyweighting.