edu.byu.ece.edif.core
Interface Trimable

All Known Subinterfaces:
EdifNameSpace<E>
All Known Implementing Classes:
EdifCell, EdifCellInterface, EdifEnvironment, EdifLibrary, EdifLibraryManager, EdifNameSpaceList, EdifNameSpaceMap, EdifNet, FlattenedEdifCell, FlattenedEdifCellLite, HalfLatchEdifCell, HalfLatchFlattenedEdifCell

public interface Trimable

This interface is used for classes that can "trim" the data structures allocated by the class. These classes will trim the data structures to preserve memory and reduce any unneeded memory overhead.

Classes that should probably implement this interface: EdifNet, (anything with a collection or ArrayList).

Version:
$Id:Trimable.java 198 2008-04-16 21:14:21Z jamesfcarroll $

Method Summary
 void trimToSize()
          This method is used to trim the size of all "trimable" data structures within the Object.
 

Method Detail

trimToSize

void trimToSize()
This method is used to trim the size of all "trimable" data structures within the Object. This method often involves the "trimToSize" method provided by many of the standard Java Collection data structures.