private static final long serialVersionUID = 1L;
private final InstructionType m_instructionType;
-
- private long[] m_alInstructionValues;
- private BigInteger[] m_alBigInstructionValues;
- private List<ActionInfo> m_actionInfos;
+ private final long[] m_alInstructionValues;
+ private final BigInteger[] m_alBigInstructionValues;
+ private final List<ActionInfo> m_actionInfos;
// This constructor should be used incase of clearAction
public InstructionInfo(InstructionType instructionType) {
m_instructionType = instructionType;
+ m_alInstructionValues = null;
+ m_alBigInstructionValues = null;
+ m_actionInfos = null;
}
public InstructionInfo(InstructionType instructionType, long[] instructionValues) {
m_instructionType = instructionType;
m_alInstructionValues = instructionValues;
+ m_alBigInstructionValues = null;
+ m_actionInfos = null;
}
public InstructionInfo(InstructionType instructionType, BigInteger[] instructionValues) {
m_instructionType = instructionType;
+ m_alInstructionValues = null;
m_alBigInstructionValues = instructionValues;
+ m_actionInfos = null;
}
public InstructionInfo(InstructionType instructionType, List<ActionInfo> actionInfos) {
m_instructionType = instructionType;
+ m_alInstructionValues = null;
+ m_alBigInstructionValues = null;
m_actionInfos = actionInfos;
}
return m_actionInfos;
}
- public void setInstructionValues(long[] m_alInstructionValues) {
- this.m_alInstructionValues = m_alInstructionValues;
- }
-
@Override
public String toString() {
return MoreObjects.toStringHelper(this).omitNullValues().add("instructionType", m_instructionType)
.add("bigInstructionValues", Arrays.deepToString(m_alBigInstructionValues))
.add("actionInfos", m_actionInfos).toString();
}
-
}
private static final long serialVersionUID = 1L;
private final MatchFieldType m_matchField;
- private long[] m_alMatchValues;
- private BigInteger[] m_aBigIntValues;
- private String[] m_asMatchValues;
+ private final long[] m_alMatchValues;
+ private final BigInteger[] m_aBigIntValues;
+ private final String[] m_asMatchValues;
public MatchInfo(MatchFieldType matchField, long[] alMatchValues) {
m_matchField = matchField;
m_alMatchValues = alMatchValues;
+ m_aBigIntValues = null;
+ m_asMatchValues = null;
}
public MatchInfo(MatchFieldType matchField, BigInteger[] alBigMatchValues) {
m_matchField = matchField;
+ m_alMatchValues = null;
m_aBigIntValues = alBigMatchValues;
+ m_asMatchValues = null;
}
public MatchInfo(MatchFieldType matchField, String[] alStringMatchValues) {
m_matchField = matchField;
+ m_alMatchValues = null;
+ m_aBigIntValues = null;
m_asMatchValues = alStringMatchValues;
}
private static final long serialVersionUID = 1L;
private final NxMatchFieldType m_matchField;
-
- private long[] m_alMatchValues;
- private BigInteger[] m_aBigIntValues;
- private String[] m_asMatchValues;
+ private final long[] m_alMatchValues;
+ private final BigInteger[] m_aBigIntValues;
+ private final String[] m_asMatchValues;
public NxMatchInfo(NxMatchFieldType matchField, long[] alMatchValues) {
m_matchField = matchField;
m_alMatchValues = alMatchValues;
+ m_aBigIntValues = null;
+ m_asMatchValues = null;
}
public NxMatchInfo(NxMatchFieldType matchField, BigInteger[] alBigMatchValues) {
m_matchField = matchField;
+ m_alMatchValues = null;
m_aBigIntValues = alBigMatchValues;
+ m_asMatchValues = null;
}
public NxMatchInfo(NxMatchFieldType matchField, String[] alStringMatchValues) {
m_matchField = matchField;
+ m_alMatchValues = null;
+ m_aBigIntValues = null;
m_asMatchValues = alStringMatchValues;
}