Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    1,381

    Re: How should I do this?

    Haha, well, I'm not sure there's a better way, since there is no automatic way to know the conversions. You're going to have to write quite a bit of code for 43 X 43 conversions, so you might want to...
  2. Replies
    4
    Views
    1,381

    Re: How should I do this?

    The first thing that pops into my head is to have a Map<Unit, Map<Unit, Conversion>> data structure where Unit is an enum of all the different types of units, and Conversion is an interface that...
Results 1 to 2 of 2