Android Open Source - DIYgenomics_Android Row






From Project

Back to project page DIYgenomics_Android.

License

The source code is released under:

/** * Copyright (C) 2010 DIYgenomics diygenomics.org * Copyright (C) 2010 Melanie Swan mxswan@gmail * Copyright (C) 2010 Michael Kolb * Copyright (C) 2010 Lawrence S. Wong * All rights reserved. * * M...

If you think the Android project DIYgenomics_Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.diygenomics.pg.utils;
/*from   w w  w.j  a v  a  2 s.c o  m*/
import java.util.ArrayList;

public class Row {

  ArrayList<String> data;
  
  
  public Row() {
    data = new ArrayList<String>();
  }
  
  public int getSize() {
    return data.size();
  }
  
  public void add(String s) {
    data.add(s);
  }
  
  public int getInteger(int index) {
    return Integer.parseInt(data.get(index));
  }
  
  public String getString(int index) {
    return data.get(index);
  }
  
  public String toString() {
    StringBuilder sb = new StringBuilder();
    int ix = 0;
    for (String s : data) {
      if (ix > 0) {
        sb.append(",");
      }
      sb.append(s);
      ix++;
    }
    return sb.toString();
  }
}




Java Source Code List

android.widget.BasicExpandableList.java
android.widget.BasicListView.java
org.diygenomics.pg.CategoriesActivity.java
org.diygenomics.pg.CategoryItemActivity.java
org.diygenomics.pg.Category.java
org.diygenomics.pg.Constants.java
org.diygenomics.pg.Data.java
org.diygenomics.pg.DotUtils.java
org.diygenomics.pg.Genome.java
org.diygenomics.pg.ImportActivity.java
org.diygenomics.pg.InfoHandler.java
org.diygenomics.pg.Main.java
org.diygenomics.pg.MappingItem.java
org.diygenomics.pg.StudiesActivity.java
org.diygenomics.pg.Study.java
org.diygenomics.pg.Variant.java
org.diygenomics.pg.utils.CSVParser.java
org.diygenomics.pg.utils.ConditionVariantTableRowComparator.java
org.diygenomics.pg.utils.Flurry.java
org.diygenomics.pg.utils.MLog.java
org.diygenomics.pg.utils.Row.java