From: Gerardo H. <ma...@us...> - 2007-02-28 00:02:49
|
Update of /cvsroot/jrman/drafts/src/org/jrman/sl In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4501/src/org/jrman/sl Modified Files: FloatGridValue.java FloatValue.java Tuple3fGridValue.java Tuple3fValue.java Value.java Log Message: Finished reformatting code :) Code is almost 100% clean (no more hideous Eclipse formatting, no tabs, no line longer than 80 columns, no CR/LF) Index: FloatValue.java =================================================================== RCS file: /cvsroot/jrman/drafts/src/org/jrman/sl/FloatValue.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FloatValue.java 8 Nov 2003 17:24:39 -0000 1.1 --- FloatValue.java 28 Feb 2007 00:02:41 -0000 1.2 *************** *** 1,19 **** /* ! FloatValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ --- 1,19 ---- /* ! FloatValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ Index: Tuple3fGridValue.java =================================================================== RCS file: /cvsroot/jrman/drafts/src/org/jrman/sl/Tuple3fGridValue.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Tuple3fGridValue.java 25 Nov 2003 16:34:08 -0000 1.2 --- Tuple3fGridValue.java 28 Feb 2007 00:02:41 -0000 1.3 *************** *** 1,19 **** /* ! Tuple3fGridValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ --- 1,19 ---- /* ! Tuple3fGridValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ Index: Value.java =================================================================== RCS file: /cvsroot/jrman/drafts/src/org/jrman/sl/Value.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Value.java 8 Nov 2003 17:24:39 -0000 1.1 --- Value.java 28 Feb 2007 00:02:41 -0000 1.2 *************** *** 1,19 **** /* ! Value.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ --- 1,19 ---- /* ! Value.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ Index: FloatGridValue.java =================================================================== RCS file: /cvsroot/jrman/drafts/src/org/jrman/sl/FloatGridValue.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FloatGridValue.java 8 Nov 2003 17:24:39 -0000 1.1 --- FloatGridValue.java 28 Feb 2007 00:02:41 -0000 1.2 *************** *** 1,19 **** /* ! FloatGridValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ --- 1,19 ---- /* ! FloatGridValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ *************** *** 64,68 **** return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseAdd: " + other.getClass()); } --- 64,69 ---- return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseAdd: " + ! other.getClass()); } *************** *** 96,100 **** return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseSub: " + other.getClass()); } --- 97,102 ---- return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseSub: " + ! other.getClass()); } *************** *** 128,132 **** return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseMul: " + other.getClass()); } --- 130,135 ---- return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseMul: " + ! other.getClass()); } *************** *** 160,164 **** return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseDiv: " + other.getClass()); } --- 163,168 ---- return new FloatGridValue(fg); } ! throw new UnsupportedOperationException("reverseDiv: " + ! other.getClass()); } Index: Tuple3fValue.java =================================================================== RCS file: /cvsroot/jrman/drafts/src/org/jrman/sl/Tuple3fValue.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Tuple3fValue.java 8 Nov 2003 17:24:39 -0000 1.1 --- Tuple3fValue.java 28 Feb 2007 00:02:41 -0000 1.2 *************** *** 1,19 **** /* ! Tuple3fValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ --- 1,19 ---- /* ! Tuple3fValue.java ! Copyright (C) 2003 Gerardo Horvilleur Martinez ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public License ! as published by the Free Software Foundation; either version 2 ! of the License, or (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ *************** *** 62,66 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseAdd(this, cond); } --- 62,67 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseAdd(this, cond); } *************** *** 83,90 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseAdd(this, cond); } ! throw new UnsupportedOperationException("reverseAdd: " + other.getClass()); } --- 84,93 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseAdd(this, cond); } ! throw new UnsupportedOperationException("reverseAdd: " + ! other.getClass()); } *************** *** 104,108 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseSub(this, cond); } --- 107,112 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseSub(this, cond); } *************** *** 125,132 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.sub(this, cond); } ! throw new UnsupportedOperationException("reverseSub: " + other.getClass()); } --- 129,138 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.sub(this, cond); } ! throw new UnsupportedOperationException("reverseSub: " + ! other.getClass()); } *************** *** 149,153 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseMul(this, cond); } --- 155,160 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseMul(this, cond); } *************** *** 173,180 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseMul(this, cond); } ! throw new UnsupportedOperationException("reverseMul: " + other.getClass()); } --- 180,189 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseMul(this, cond); } ! throw new UnsupportedOperationException("reverseMul: " + ! other.getClass()); } *************** *** 197,201 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseDiv(this, cond); } --- 206,211 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.reverseDiv(this, cond); } *************** *** 221,228 **** } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.div(this, cond); } ! throw new UnsupportedOperationException("reverseDiv: " + other.getClass()); } --- 231,240 ---- } if (other instanceof FloatGridValue) { ! Tuple3fGridValue t3fgv = ! Tuple3fGridValue.cast((FloatGridValue) other); return t3fgv.div(this, cond); } ! throw new UnsupportedOperationException("reverseDiv: " + ! other.getClass()); } |