sub_arctic.input
Class user_info_holder
java.lang.Object
|
+--sub_arctic.input.user_info_holder
- public class user_info_holder
- extends java.lang.Object
Object to encapsulate some information that should be associated
associated with a particular interactor. These objects are currently used
in picking to record what part or subpart of the object was picked so that
this doesn't need to be recomputed.
Field Summary |
java.lang.Object |
info
An object providing the information we are holding. |
interactor |
obj
The interactor that we are holding information for. |
Method Summary |
boolean |
equals(java.lang.Object other)
Generic test for equality. |
boolean |
equals(user_info_holder other)
Type specific test for equality. |
int |
hashCode()
Produce a hash code for the object and info. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
obj
public interactor obj
- The interactor that we are holding information for.
info
public java.lang.Object info
- An object providing the information we are holding.
user_info_holder
public user_info_holder(interactor for_obj,
java.lang.Object user_info)
- Full constructor.
- Parameters:
interactor
- for_obj object we are associating information with.Object
- user_info information we are associating.
user_info_holder
public user_info_holder(interactor for_obj)
- Constructor with info defaulting to null.
- Parameters:
interactor
- for_obj object we are associating null information
with.
hashCode
public int hashCode()
- Produce a hash code for the object and info.
- Overrides:
- hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Generic test for equality.
- Parameters:
Object
- other object we are testing equality against.- Overrides:
- equals in class java.lang.Object
equals
public boolean equals(user_info_holder other)
- Type specific test for equality.
- Parameters:
user_info_holder
- other object we are testing equality against.