Package hydra.ext.java.syntax
Class EnhancedForStatementNoShortIf
- java.lang.Object
-
- hydra.ext.java.syntax.EnhancedForStatementNoShortIf
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EnhancedForStatementNoShortIf>
public class EnhancedForStatementNoShortIf extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<EnhancedForStatementNoShortIf>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StatementNoShortIfbodystatic NameBODYEnhancedForCondcondstatic NameCONDstatic NameTYPE_
-
Constructor Summary
Constructors Constructor Description EnhancedForStatementNoShortIf(EnhancedForCond cond, StatementNoShortIf body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EnhancedForStatementNoShortIf other)booleanequals(java.lang.Object other)inthashCode()EnhancedForStatementNoShortIfwithBody(StatementNoShortIf body)EnhancedForStatementNoShortIfwithCond(EnhancedForCond cond)
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
-
COND
public static final Name COND
-
BODY
public static final Name BODY
-
cond
public final EnhancedForCond cond
-
body
public final StatementNoShortIf body
-
-
Constructor Detail
-
EnhancedForStatementNoShortIf
public EnhancedForStatementNoShortIf(EnhancedForCond cond, StatementNoShortIf body)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(EnhancedForStatementNoShortIf other)
- Specified by:
compareToin interfacejava.lang.Comparable<EnhancedForStatementNoShortIf>
-
withCond
public EnhancedForStatementNoShortIf withCond(EnhancedForCond cond)
-
withBody
public EnhancedForStatementNoShortIf withBody(StatementNoShortIf body)
-
-