Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.66 KB | None | 0 0
  1. package com.company;
  2.  
  3. import java.util.List;
  4.  
  5. public abstract class Storage {
  6.     private String name;
  7.     private String model;
  8.  
  9.     public String getModel() {
  10.         return model;
  11.     }
  12.  
  13.     public void setModel(String model) {
  14.         this.model = model;
  15.     }
  16.  
  17.     public String getName() {
  18.         return name;
  19.     }
  20.  
  21.     public void setName(String name) {
  22.         this.name = name;
  23.     }
  24.  
  25.     public abstract double getStorageValue();
  26.     public abstract void copyDataToDevice(List<File> files, double timeSpend, List<File> remainingFiles);
  27.     public abstract double getFreeSpaceValue();
  28.     public abstract String getDeviceInfo();
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement