@Internal public class CastCodeBlock extends Object
returnTerm and isNullTerm can be accessed within the external
scope of the returned code. Both returnTerm and isNullTerm can be either
variable names or expressions.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
String |
getCode() |
String |
getIsNullTerm() |
String |
getReturnTerm() |
int |
hashCode() |
static CastCodeBlock |
withCode(String code,
String returnTerm,
String isNullTerm) |
static CastCodeBlock |
withoutCode(String returnTerm,
String isNullTerm) |
public static CastCodeBlock withoutCode(String returnTerm, String isNullTerm)
public static CastCodeBlock withCode(String code, String returnTerm, String isNullTerm)
public String getCode()
public String getReturnTerm()
public String getIsNullTerm()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.