Coverage Report - org.jaudiotagger.tag.datatype.HashMapInterface
 
Classes in this File Line Coverage Branch Coverage Complexity
HashMapInterface
N/A
N/A
0
 
 1  
 /**
 2  
  *  @author : Paul Taylor
 3  
  *  @author : Eric Farng
 4  
  *
 5  
  *  Version @version:$Id: HashMapInterface.java,v 1.8 2008/07/21 10:45:41 paultaylor Exp $
 6  
  *
 7  
  *  MusicTag Copyright (C)2003,2004
 8  
  *
 9  
  *  This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser
 10  
  *  General Public  License as published by the Free Software Foundation; either version 2.1 of the License,
 11  
  *  or (at your option) any later version.
 12  
  *
 13  
  *  This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
 14  
  *  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 15  
  *  See the GNU Lesser General Public License for more details.
 16  
  *
 17  
  *  You should have received a copy of the GNU Lesser General Public License along with this library; if not,
 18  
  *  you can get a copy from http://www.opensource.org/licenses/lgpl-license.php or write to the Free Software
 19  
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 20  
  *
 21  
  * Description:
 22  
  *   A simple Interface required by classes which use a HashMap to Store ValuePairs
 23  
  */
 24  
 
 25  
 package org.jaudiotagger.tag.datatype;
 26  
 
 27  
 import java.util.Iterator;
 28  
 import java.util.Map;
 29  
 
 30  
 /**
 31  
  * Represents an interface allowing maping from key to value and value to key
 32  
  */
 33  
 public interface HashMapInterface<K, V>
 34  
 {
 35  
     /**
 36  
      * @return a mapping between the key within the frame and the value
 37  
      */
 38  
     public Map<K, V> getKeyToValue();
 39  
 
 40  
     /**
 41  
      * @return a mapping between the value to the key within the frame
 42  
      */
 43  
     public Map<V, K> getValueToKey();
 44  
 
 45  
     /**
 46  
      * @return an interator of the values within the map
 47  
      */
 48  
     public Iterator<V> iterator();
 49  
 }