sub_arctic.constraints
Class consumer_part_ref
java.lang.Object
|
+--sub_arctic.constraints.consumer_part_ref
- public class consumer_part_ref
- extends java.lang.Object
A small class to encapsulate a pair.
Method Summary |
boolean |
equals(java.lang.Object other)
Comparison operator. |
int |
hashCode()
Hash code so we can put these in hash tables. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
obj
public value_consumer obj
- The consumer object.
part_num
public int part_num
- The part number of that object that we refer to
consumer_part_ref
public consumer_part_ref(value_consumer o,
int pn)
- Constructor.
- Parameters:
value_consumer
- o the object consuming the valueint
- pn the part within that object that makes use of
the value
hashCode
public int hashCode()
- Hash code so we can put these in hash tables.
- Overrides:
- hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Comparison operator.
- Overrides:
- equals in class java.lang.Object