sub_arctic.constraints
Class provider_part_ref
java.lang.Object
|
+--sub_arctic.constraints.provider_part_ref
- public class provider_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_provider obj
- The provider object.
part_num
public int part_num
- The part number of that object that we refer to
provider_part_ref
public provider_part_ref(value_provider o,
int pn)
- Constructor.
- Parameters:
value_provider
- o the object providing the value.int
- pn the number of the part within the object which
provides 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