001    package edu.harvard.deas.hyperenc;
002    
003    
004    /**
005     * An abstract factory that constructs HyperStorage objects.
006     */
007    public interface HyperStorageFactory {
008      /**
009       * Constructs and returns a HyperStorage for the given contact, in the given
010       * direction.
011       * 
012       * @return a new, empty HyperStorage
013       */
014      public HyperStorage getHyperStorage(Contact contact, Direction dir);
015    }