Offset.java 720 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package common;
  7. /**
  8. *
  9. * @author EUGENIO CARVALHO
  10. */
  11. public class Offset {
  12. protected Long address = 0L;
  13. protected Long shift = 0L;
  14. public Offset(Long address, Long shift) {
  15. this.address = address;
  16. this.shift = shift;
  17. }
  18. public Long getAddress() {
  19. return address;
  20. }
  21. public void setAddress(Long address) {
  22. this.address = address;
  23. }
  24. public Long getShift() {
  25. return shift;
  26. }
  27. public void setShift(Long shift) {
  28. this.shift = shift;
  29. }
  30. }