Package VCF.Mappers

Interface Mapper<M>

  • Type Parameters:
    M - Type that is mapped to
    All Known Implementing Classes:
    DepthMapper

    public interface Mapper<M>
    Maps from string to object
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      M[][] get2DArray​(int size)
      Get a 2d array of the returned type
      M[] getArray​(int size)
      Get an array of the returned type
      M map​(java.lang.String v)
      Map from string to object
    • Method Detail

      • getArray

        M[] getArray​(int size)
        Get an array of the returned type
        Parameters:
        size - Size of the array
        Returns:
        The array
      • get2DArray

        M[][] get2DArray​(int size)
        Get a 2d array of the returned type
        Parameters:
        size - Size of the major dimension
        Returns:
        The array