Is it possible to use a custom object in java (my WeaponObject) as a data type (like Vector3)

alright.i don't know how n00bish this sounds but... i need a Custom object (my WeaponObject), so i can store values and send them to my GUI handler. only problem is...i don't know how to use that as a data type (like int, floats and Vector2/3). is it possible? i hear i could use structs on C#, but I'm really not comfortable coding with it.and also how would i access the struct globally? could i? i dunno...

thanks for you time...and thanks for any of your replies, you guys are Great! :D


Value types (structs) can be defined as classes inheriting from System.ValueType: