Code example for LoadingCache

Methods: getUnchecked

0
   * @param dagId TezDAGID object for this TezVertexID 
   * @param id the tip number 
   */ 
  public static TezVertexID getInstance(TezDAGID dagId, int id) {
    Preconditions.checkArgument(dagId != null, "DagID cannot be null");
    return vertexIDCache.getUnchecked(new TezVertexID(dagId, id));
  } 
 
  private TezVertexID(TezDAGID dagId, int id) {
    super(id);
    this.dagId = dagId;
  } 
 
  /** Returns the {@link TezDAGID} object that this tip belongs to */ 
  public TezDAGID getDAGId() { 
    return dagId;
  } 
 
  @Override 
  public boolean equals(Object o) { 
Connect your IDE to all the code out there  Get Codota for Java