Android Open Source - BART etd

From Project

Back to project page BART.


The source code is released under:

GNU General Public License

If you think the Android project BART 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

 *  Copyright (C) 2012  David Brodsky/*ww  w  . j  av a 2s . c  om*/
 *  This file is part of Open BART.
 *  Open BART is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *  Open BART is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  GNU General Public License for more details.
 *  You should have received a copy of the GNU General Public License
 *  along with Open BART.  If not, see <>.

package pro.dbro.bart;

public class etd {
  public String destination;
  public int minutesToArrival;
  public int platform;
  public String direction;
  public boolean bikes;
  public String color;
  public boolean isExpanded = false; // Is corresponding view expanded?
  public String toString(){
    return destination + " in " + String.valueOf(minutesToArrival)+"m";
  public etd(){
    this.minutesToArrival = 0;
  public etd(String destination, int minutesToArrival, int platform, String direction, boolean bikes, String color){
    this.destination = destination;
    this.minutesToArrival = minutesToArrival;
    this.platform = platform;
    this.direction = direction;
    this.bikes = bikes;
    this.color = color;


Java Source Code List