// Path: src/main/java/com/amanvishnani/sim8085/domain/IMemory.java
// public interface IMemory {
//     IData getData(Integer intAddress);
//     IAddress getAddress(Integer intAddress);
//     String getHexData(Integer intAddress);
//     String getHexData(String hexAddress);
//     void setData(String hexAddress, String data);
//     void setData(Integer intAddress, String data);
//     void setData(IAddress address, String data);
//     void setData(IAddress address, IData data);
//     IMemorySlice getSlice(Integer start, Integer end);
// }
// 
// Path: src/main/java/com/amanvishnani/sim8085/domain/IMemorySlice.java
// public interface IMemorySlice {
//     String[] getHexDataArray();
// }


import com.amanvishnani.sim8085.domain.IMemorySlice;
import com.amanvishnani.sim8085.domain.IMemory;
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.amanvishnani.sim8085.domain.Impl;


/**
 *
 * @author Aman Vishnani
 */
public class MemorySlice implements IMemorySlice {

    Integer start, end;
    String[] data;
// Path: src/main/java/com/amanvishnani/sim8085/domain/IMemory.java
// public interface IMemory {
//     IData getData(Integer intAddress);
//     IAddress getAddress(Integer intAddress);
//     String getHexData(Integer intAddress);
//     String getHexData(String hexAddress);
//     void setData(String hexAddress, String data);
//     void setData(Integer intAddress, String data);
//     void setData(IAddress address, String data);
//     void setData(IAddress address, IData data);
//     IMemorySlice getSlice(Integer start, Integer end);
// }
// 
// Path: src/main/java/com/amanvishnani/sim8085/domain/IMemorySlice.java
// public interface IMemorySlice {
//     String[] getHexDataArray();
// }


// Path: src/main/java/com/amanvishnani/sim8085/domain/Impl/MemorySlice.java
import com.amanvishnani.sim8085.domain.IMemorySlice;
import com.amanvishnani.sim8085.domain.IMemory;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.amanvishnani.sim8085.domain.Impl;


/**
 *
 * @author Aman Vishnani
 */
public class MemorySlice implements IMemorySlice {

    Integer start, end;
    String[] data;
    IMemory memoryRef;