Android Open Source - SerialPlot Option






From Project

Back to project page SerialPlot.

License

The source code is released under:

MIT License

If you think the Android project SerialPlot 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.SerialPlot;
//  ww w.  jav a2  s  . c  o m
public class Option implements Comparable<Option>{
  
  private String name;
  private String data;
  private String path;
  
  public Option(String n, String d, String p)
  {
    name = n;
    data = d;
    path = p;
  }
  
  public String getName(){ return name; }
  public String getData(){ return data; }
  public String getPath(){ return path; }
  
  @Override
  public int compareTo(Option o) {
    if(this.name != null)
      return this.name.toLowerCase().compareTo(o.getName().toLowerCase());
    else
      throw new IllegalArgumentException();
  }
}




Java Source Code List

org.SerialPlot.BTcom.java
org.SerialPlot.DataBuffer.java
org.SerialPlot.DeviceListActivity.java
org.SerialPlot.FileArrayAdapter.java
org.SerialPlot.FileBrowserActivity.java
org.SerialPlot.Option.java
org.SerialPlot.SerialPlotActivity.java