Skip to content
Snippets Groups Projects
Select Git revision
  • e523fd006306761d48219f1f548dc2564376e031
  • main
  • linux2
  • linux
  • newboxes
  • offlineupdates
  • qol
  • cryptotest2
  • css-cards
  • crypto-test
  • draganddrop
  • height3
  • height
  • zindex
  • connection2
  • v-forupdate
  • connections
  • v-for
  • organise-forlarger
  • kebabcase
  • lowercase
21 results

ToolBar.vue

Blame
  • Index.java 485 B
    package ftp;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public class Index {
    
        private ArrayList<DstoreFile> files = new ArrayList<DstoreFile>();
    
    
        public Index() {}
    
        public Index(List<DstoreFile> files) {
            this.files = new ArrayList<DstoreFile>(files);
        }
    
    
        public void addFile(String filename, int filesize) {
            files.add(new DstoreFile(filename,filesize));
        }
    
        public ArrayList<DstoreFile> getIndex() {
            return files;
        }
    
    }