Android Open Source - TechDissected List Builder

From Project

Back to project page TechDissected.


The source code is released under:

Apache License

If you think the Android project TechDissected 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 com.pkmmte.techdissected.model;
// w  ww. ja  va2 s .c o m

 * Created by Family on 8/12/2014.
public class ListBuilder {
  private Uri url;
  private Uri avatar;
  private String username;
  private String name;
  private String description;

  private ListBuilder() {

  public static ListBuilder anAuthor() {
    return new ListBuilder();

  public ListBuilder withUrl(Uri url) {
    this.url = url;
    return this;

  public ListBuilder withAvatar(Uri avatar) {
    this.avatar = avatar;
    return this;

  public ListBuilder withUsername(String username) {
    this.username = username;
    return this;

  public ListBuilder withName(String name) { = name;
    return this;

  public ListBuilder withDescription(String description) {
    this.description = description;
    return this;

  public Author build() {
    Author author = new Author();
    return author;

Java Source Code List