示例#1
0
  /**
   * Returns whether the {@link Package} has at least one {@link Archive} compatible with the host
   * platform.
   */
  public boolean hasCompatibleArchive() {
    for (Archive archive : mArchives) {
      if (archive.isCompatible()) {
        return true;
      }
    }

    return false;
  }