Android Open Source - spotastop Data

From Project

Back to project page spotastop.


The source code is released under:

MIT License

If you think the Android project spotastop 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 requests;
/*from   w ww  .  ja  va  2 s . c  o  m*/
import java.util.ArrayList;

import resources.Resource;

public class Data {

  private Resource[] resources;

  private Link[] relations;

  public Data(ArrayList<Resource> res, ArrayList<Link> rels) {
    if (res != null) {
      resources = new Resource[res.size()];
      for (int i = 0; i < res.size(); i++) {
        resources[i] = res.get(i);
    if (rels != null) {
      relations = new Link[rels.size()];
      for (int i = 0; i < rels.size(); i++) {
        relations[i] = rels.get(i);


Java Source Code List