| | |
| | | int ib = TRACK_POSITION_POSITIVE_SEQUENCE.indexOf(b); |
| | | int ic = TRACK_POSITION_POSITIVE_SEQUENCE.indexOf(c); |
| | | int id = TRACK_POSITION_POSITIVE_SEQUENCE.indexOf(d); |
| | | if (id==0){ |
| | | if (ia>ib){ |
| | | if (ia>ic){ |
| | | return a; |
| | | }else { |
| | | return c; |
| | | } |
| | | if (id == 0){ |
| | | if (ib>ic){ |
| | | return b; |
| | | }else { |
| | | if (ib>ic){ |
| | | return b; |
| | | }else { |
| | | return c; |
| | | } |
| | | return c; |
| | | } |
| | | }else { |
| | | if (ia<ib){ |
| | | if (ia<ic){ |
| | | return a; |
| | | }else { |
| | | return c; |
| | | } |
| | | if (ib<ic){ |
| | | return b; |
| | | }else { |
| | | if (ib<ic){ |
| | | return b; |
| | | }else { |
| | | return c; |
| | | } |
| | | return c; |
| | | } |
| | | } |
| | | // if (id==0){ |
| | | // if (ia>ib){ |
| | | // if (ia>ic){ |
| | | // return a; |
| | | // }else { |
| | | // return c; |
| | | // } |
| | | // }else { |
| | | // if (ib>ic){ |
| | | // return b; |
| | | // }else { |
| | | // return c; |
| | | // } |
| | | // } |
| | | // }else { |
| | | // if (ia<ib){ |
| | | // if (ia<ic){ |
| | | // return a; |
| | | // }else { |
| | | // return c; |
| | | // } |
| | | // }else { |
| | | // if (ib<ic){ |
| | | // return b; |
| | | // }else { |
| | | // return c; |
| | | // } |
| | | // } |
| | | // } |
| | | } |
| | | |
| | | /* |