Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.clustermate.client.call;
 
 import java.util.List;
 
 
 public abstract class ListCallResult<T>
    extends CallResult
    protected final List<T> _items;
    
    protected final StorableKey _lastSeen;
    /*
    /**********************************************************************
    /* Construction, initialization
    /**********************************************************************
     */
    
    public ListCallResult(ListResponse<T> resp)
    {
        super(.);
         = resp.items;
         = resp.lastSeen;
    }
    public ListCallResult(CallFailure fail)
    {
        super(fail);
         = null;
         = null;
    }
    public ListCallResult(int statusCode)
    {
        super(statusCode);
         = null;
         = null;
    }
    
    /*
    /**********************************************************************
    /* CallResult impl
    /**********************************************************************
     */
    @Override
    public abstract String getHeaderValue(String key);
    
    /*
    /**********************************************************************
    /* Extended API
    /**********************************************************************
     */
    
    public List<T> getItems() { return ; }
    public StorableKey getLastSeen() { return ; }
New to GrepCode? Check out our FAQ X