// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/model/entities/CommentEntities.java
// @JsonInclude(JsonInclude.Include.NON_NULL)
// @JsonPropertyOrder({
//         "comments"
// })
// public class CommentEntities {
// 
//     @JsonProperty("comments")
//     private List<Comment> comments = new ArrayList<Comment>();
//     @JsonIgnore
//     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
// 
//     /**
//      *
//      * @return
//      * The comments
//      */
//     @JsonProperty("comments")
//     public List<Comment> getComments() {
//         return comments;
//     }
// 
//     /**
//      *
//      * @param comments
//      * The comments
//      */
//     @JsonProperty("comments")
//     public void setComments(List<Comment> comments) {
//         this.comments = comments;
//     }
// 
//     @JsonAnyGetter
//     public Map<String, Object> getAdditionalProperties() {
//         return this.additionalProperties;
//     }
// 
//     @JsonAnySetter
//     public void setAdditionalProperty(String name, Object value) {
//         this.additionalProperties.put(name, value);
//     }
// 
// }
// 
// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/presenter/infr/CommentView.java
// public interface CommentView {
// 
//     void showLongComments(List<Comment> longComments);
// 
//     void loadShortComments(List<Comment> shortComments);
// 
//     void onCommentClick(View view, Comment comment);
// }
// 
// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/presenter/usercase/LongCommentCase.java
// public class LongCommentCase extends UserCase<CommentEntities, String> {
//     @Override
//     protected Observable<CommentEntities> interactor(String id) {
//         return ServiceRest.getInstance().getLongComments(id);
//     }
// }
// 
// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/presenter/usercase/ShortCommentCase.java
// public class ShortCommentCase extends UserCase<CommentEntities, String> {
//     @Override
//     protected Observable<CommentEntities> interactor(String id) {
//         return ServiceRest.getInstance().getShortComments(id);
//     }
// }


import com.github.zzwwws.rxzhihudaily.model.entities.CommentEntities;
import com.github.zzwwws.rxzhihudaily.presenter.infr.CommentView;
import com.github.zzwwws.rxzhihudaily.presenter.usercase.LongCommentCase;
import com.github.zzwwws.rxzhihudaily.presenter.usercase.ShortCommentCase;
import rx.Subscriber;
package com.github.zzwwws.rxzhihudaily.presenter.impl;




/**
 * Created by zzwwws on 2016/2/23.
 */
public class CommentImpl implements CommentPresenter<CommentView> {
    Subscriber<CommentEntities> longCommentSub;
    Subscriber<CommentEntities> shortCommentSub;
    LongCommentCase longCommentCase;
// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/model/entities/CommentEntities.java
// @JsonInclude(JsonInclude.Include.NON_NULL)
// @JsonPropertyOrder({
//         "comments"
// })
// public class CommentEntities {
// 
//     @JsonProperty("comments")
//     private List<Comment> comments = new ArrayList<Comment>();
//     @JsonIgnore
//     private Map<String, Object> additionalProperties = new HashMap<String, Object>();
// 
//     /**
//      *
//      * @return
//      * The comments
//      */
//     @JsonProperty("comments")
//     public List<Comment> getComments() {
//         return comments;
//     }
// 
//     /**
//      *
//      * @param comments
//      * The comments
//      */
//     @JsonProperty("comments")
//     public void setComments(List<Comment> comments) {
//         this.comments = comments;
//     }
// 
//     @JsonAnyGetter
//     public Map<String, Object> getAdditionalProperties() {
//         return this.additionalProperties;
//     }
// 
//     @JsonAnySetter
//     public void setAdditionalProperty(String name, Object value) {
//         this.additionalProperties.put(name, value);
//     }
// 
// }
// 
// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/presenter/infr/CommentView.java
// public interface CommentView {
// 
//     void showLongComments(List<Comment> longComments);
// 
//     void loadShortComments(List<Comment> shortComments);
// 
//     void onCommentClick(View view, Comment comment);
// }
// 
// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/presenter/usercase/LongCommentCase.java
// public class LongCommentCase extends UserCase<CommentEntities, String> {
//     @Override
//     protected Observable<CommentEntities> interactor(String id) {
//         return ServiceRest.getInstance().getLongComments(id);
//     }
// }
// 
// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/presenter/usercase/ShortCommentCase.java
// public class ShortCommentCase extends UserCase<CommentEntities, String> {
//     @Override
//     protected Observable<CommentEntities> interactor(String id) {
//         return ServiceRest.getInstance().getShortComments(id);
//     }
// }


// Path: app/src/main/java/com/github/zzwwws/rxzhihudaily/presenter/impl/CommentImpl.java
import com.github.zzwwws.rxzhihudaily.model.entities.CommentEntities;
import com.github.zzwwws.rxzhihudaily.presenter.infr.CommentView;
import com.github.zzwwws.rxzhihudaily.presenter.usercase.LongCommentCase;
import com.github.zzwwws.rxzhihudaily.presenter.usercase.ShortCommentCase;
import rx.Subscriber;

package com.github.zzwwws.rxzhihudaily.presenter.impl;




/**
 * Created by zzwwws on 2016/2/23.
 */
public class CommentImpl implements CommentPresenter<CommentView> {
    Subscriber<CommentEntities> longCommentSub;
    Subscriber<CommentEntities> shortCommentSub;
    LongCommentCase longCommentCase;
    ShortCommentCase shortCommentCase;