You can subscribe to this list here.
2002 |
Jan
(14) |
Feb
|
Mar
|
Apr
(6) |
May
|
Jun
(3) |
Jul
(3) |
Aug
(6) |
Sep
(14) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(1) |
Feb
|
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(3) |
Oct
|
Nov
(7) |
Dec
(3) |
2004 |
Jan
|
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
|
2005 |
Jan
|
Feb
|
Mar
(11) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(29) |
Dec
(16) |
2007 |
Jan
(11) |
Feb
(6) |
Mar
(12) |
Apr
(2) |
May
|
Jun
(16) |
Jul
(9) |
Aug
(5) |
Sep
|
Oct
(4) |
Nov
(8) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
(23) |
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
(11) |
Nov
(2) |
Dec
(3) |
2009 |
Jan
|
Feb
(2) |
Mar
(15) |
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(65) |
Sep
(180) |
Oct
(52) |
Nov
(33) |
Dec
|
2010 |
Jan
(5) |
Feb
(3) |
Mar
(24) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(49) |
Oct
|
Nov
|
Dec
|
From: Rob E. <ro...@us...> - 2009-08-19 22:28:35
|
Update of /cvsroot/trove4j/trove In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26950/trove Modified Files: Tag: TROVE_3_WORKING AUTHORS Log Message: Add Jeff to author's list. Index: AUTHORS =================================================================== RCS file: /cvsroot/trove4j/trove/AUTHORS,v retrieving revision 1.3 retrieving revision 1.3.4.1 diff -C2 -d -r1.3 -r1.3.4.1 *** AUTHORS 10 Nov 2006 23:27:54 -0000 1.3 --- AUTHORS 19 Aug 2009 22:28:22 -0000 1.3.4.1 *************** *** 1,4 **** - Eric D. Friedman <er...@us...> Rob Eden <ro...@us...> Please do NOT email bug reports or feature requests. --- 1,5 ---- Rob Eden <ro...@us...> + Eric D. Friedman <er...@us...> + Jeff Randall <ra...@up...> Please do NOT email bug reports or feature requests. *************** *** 6,10 **** Instead use the very fine bug tracking system and feature request service on SourceForge: http://sourceforge.net/projects/trove4j/ ! I'll read your issue just as quickly, and the project's issues will ! remain out in the open where everyone can see them. I also monitor ! the project fora, so feel free to use those too. --- 7,11 ---- Instead use the very fine bug tracking system and feature request service on SourceForge: http://sourceforge.net/projects/trove4j/ ! We'll read your issue just as quickly, and the project's issues will ! remain out in the open where everyone can see them. We also monitor ! the project forums, so feel free to use those too. |
From: Jeff R. <uph...@us...> - 2009-08-19 05:46:15
|
Update of /cvsroot/trove4j/trove/generator_src/gnu/trove/generator In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15571/generator_src/gnu/trove/generator Modified Files: Tag: TROVE_3_WORKING Generator.java Log Message: Add generation of Character collections Index: Generator.java =================================================================== RCS file: /cvsroot/trove4j/trove/generator_src/gnu/trove/generator/Attic/Generator.java,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** Generator.java 18 Aug 2009 20:44:42 -0000 1.1.2.3 --- Generator.java 19 Aug 2009 05:46:00 -0000 1.1.2.4 *************** *** 2,5 **** --- 2,6 ---- * /////////////////////////////////////////////////////////////////////////////// * // Copyright (c) 2009, Rob Eden All Rights Reserved. + * // Copyright (c) 2009, Jeff Randall All Rights Reserved. * // * // This library is free software; you can redistribute it and/or *************** *** 37,41 **** new WrapperInfo( "long", "Long", "MAX_VALUE", "MIN_VALUE" ), new WrapperInfo( "byte", "Byte", "MAX_VALUE", "MIN_VALUE" ), ! new WrapperInfo( "short", "Short", "MAX_VALUE", "MIN_VALUE" ) }; private static final Pattern PATTERN_v; --- 38,43 ---- new WrapperInfo( "long", "Long", "MAX_VALUE", "MIN_VALUE" ), new WrapperInfo( "byte", "Byte", "MAX_VALUE", "MIN_VALUE" ), ! new WrapperInfo( "short", "Short", "MAX_VALUE", "MIN_VALUE" ), ! new WrapperInfo( "char", "Character", "MAX_VALUE", "MIN_VALUE" ) }; private static final Pattern PATTERN_v; *************** *** 165,169 **** String k = info.primitive; String KT = info.class_name; ! String K = shortInt( KT ); String KMAX = info.max_value; String KMIN = info.min_value; --- 167,171 ---- String k = info.primitive; String KT = info.class_name; ! String K = abbreviate( KT ); String KMAX = info.max_value; String KMIN = info.min_value; *************** *** 182,186 **** String v = jinfo.primitive; String VT = jinfo.class_name; ! String V = shortInt( VT ); String VMAX = jinfo.max_value; String VMIN = jinfo.min_value; --- 184,188 ---- String v = jinfo.primitive; String VT = jinfo.class_name; ! String V = abbreviate( VT ); String VMAX = jinfo.max_value; String VMIN = jinfo.min_value; *************** *** 207,211 **** String e = info.primitive; String ET = info.class_name; ! String E = shortInt( ET ); String EMAX = info.max_value; String EMIN = info.min_value; --- 209,213 ---- String e = info.primitive; String ET = info.class_name; ! String E = abbreviate( ET ); String EMAX = info.max_value; String EMIN = info.min_value; *************** *** 306,311 **** ! private static String shortInt( String type ) { ! return type.equals( "Integer" ) ? "Int" : type; } --- 308,322 ---- ! /** ! * Abbreviate the type for Integer and Character ! */ ! private static String abbreviate( String type ) { ! if ( type.equals( "Integer" ) ) { ! return "Int"; ! } ! else if ( type.equals( "Character" ) ) { ! return "Char"; ! } ! return type; } |
From: Jeff R. <uph...@us...> - 2009-08-19 05:45:08
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15494/templates/gnu/trove/stack/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayStack.template Log Message: Replace improperly constant type with the appropriate type token. Index: _E_ArrayStack.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/stack/array/Attic/_E_ArrayStack.template,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** _E_ArrayStack.template 19 Aug 2009 05:03:14 -0000 1.1.2.5 --- _E_ArrayStack.template 19 Aug 2009 05:44:53 -0000 1.1.2.6 *************** *** 177,181 **** */ private void swap( #e#[] dest, int i, int j ) { ! byte tmp = dest[ i ]; dest[ i ] = dest[ j ]; dest[ j ] = tmp; --- 177,181 ---- */ private void swap( #e#[] dest, int i, int j ) { ! #e# tmp = dest[ i ]; dest[ i ] = dest[ j ]; dest[ j ] = tmp; |
From: Jeff R. <uph...@us...> - 2009-08-19 05:03:28
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12547/templates/gnu/trove/stack/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayStack.template Log Message: Update copyright, toNativeArray() now returns values in order from top to bottom, add toString() method. Index: _E_ArrayStack.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/stack/array/Attic/_E_ArrayStack.template,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** _E_ArrayStack.template 18 Aug 2009 22:10:49 -0000 1.1.2.4 --- _E_ArrayStack.template 19 Aug 2009 05:03:14 -0000 1.1.2.5 *************** *** 1,4 **** --- 1,6 ---- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. + // Copyright (c) 2009, Rob Eden All Rights Reserved. + // Copyright (c) 2009, Jeff Randall All Rights Reserved. // // This library is free software; you can redistribute it and/or *************** *** 20,27 **** package gnu.trove.stack.array; - ////////////////////////////////////////////////// - // THIS IS A GENERATED CLASS. DO NOT HAND EDIT! // - ////////////////////////////////////////////////// - import gnu.trove.stack.T#E#Stack; import gnu.trove.list.array.T#E#ArrayList; --- 22,25 ---- *************** *** 34,40 **** /** ! * A stack of #e# primitives. */ public class T#E#ArrayStack implements T#E#Stack, Externalizable { --- 32,42 ---- + ////////////////////////////////////////////////// + // THIS IS A GENERATED CLASS. DO NOT HAND EDIT! // + ////////////////////////////////////////////////// + /** ! * A stack of #e# primitives, backed by a T#E#ArrayList */ public class T#E#ArrayStack implements T#E#Stack, Externalizable { *************** *** 117,139 **** /** * Copies the contents of the stack into a native array. Note that this will NOT ! * pop them out of the stack. * * @return an <code>#e#[]</code> value */ public #e#[] toNativeArray() { ! return _list.toNativeArray(); } /** * Copies a slice of the list into a native array. Note that this will NOT ! * pop them out of the stack. * * @param dest the array to copy into. */ public void toNativeArray( #e#[] dest ) { ! _list.toNativeArray( dest, 0, size() ); } public boolean equals( Object o ) { if ( this == o ) { --- 119,205 ---- /** * Copies the contents of the stack into a native array. Note that this will NOT ! * pop them out of the stack. The front of the list will be the top of the stack. * * @return an <code>#e#[]</code> value */ public #e#[] toNativeArray() { ! #e#[] retval = _list.toNativeArray(); ! reverse( retval, 0, size() ); ! return retval; } /** * Copies a slice of the list into a native array. Note that this will NOT ! * pop them out of the stack. The front of the list will be the top ! * of the stack.<p> ! * If the native array is smaller than the stack depth, ! * the native array will be filled with the elements from the top ! * of the array until it is full and exclude the remainder. * * @param dest the array to copy into. */ public void toNativeArray( #e#[] dest ) { ! int start = size() - dest.length; ! if ( start < 0 ) { ! start = 0; ! } ! ! _list.toNativeArray( dest, start, size() ); ! reverse( dest, 0, size() ); ! ! } ! ! /** ! * Reverse the order of the elements in the range of the list. ! * ! * @param dest the array of data ! * @param from the inclusive index at which to start reversing ! * @param to the exclusive index at which to stop reversing ! */ ! private void reverse( #e#[] dest, int from, int to ) { ! if ( from == to ) { ! return; // nothing to do ! } ! if ( from > to ) { ! throw new IllegalArgumentException( "from cannot be greater than to" ); ! } ! for ( int i = from, j = to - 1; i < j; i++, j-- ) { ! swap( dest, i, j ); ! } ! } ! ! /** ! * Swap the values at offsets <tt>i</tt> and <tt>j</tt>. ! * ! * @param dest the array of data ! * @param i an offset into the data array ! * @param j an offset into the data array ! */ ! private void swap( #e#[] dest, int i, int j ) { ! byte tmp = dest[ i ]; ! dest[ i ] = dest[ j ]; ! dest[ j ] = tmp; } + /** + * Returns a String representation of the list, top to bottom. + * + * @return a <code>String</code> value + */ + public String toString() { + final StringBuilder buf = new StringBuilder( "{" ); + for ( int i = _list.size() - 1; i > 0; i-- ) { + buf.append( _list.get( i ) ); + buf.append( ", " ); + } + if ( size() > 0 ) { + buf.append( _list.get( 0 ) ); + } + buf.append( "}" ); + return buf.toString(); + } + + public boolean equals( Object o ) { if ( this == o ) { *************** *** 171,173 **** _list = ( T#E#ArrayList ) in.readObject(); } ! } \ No newline at end of file --- 237,239 ---- _list = ( T#E#ArrayList ) in.readObject(); } ! } // T#E#ArrayStack \ No newline at end of file |
From: Jeff R. <uph...@us...> - 2009-08-19 05:01:58
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/list/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12411/templates/gnu/trove/list/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayList.template Log Message: Update copyright Index: _E_ArrayList.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/list/array/Attic/_E_ArrayList.template,v retrieving revision 1.1.2.6 retrieving revision 1.1.2.7 diff -C2 -d -r1.1.2.6 -r1.1.2.7 *** _E_ArrayList.template 18 Aug 2009 22:10:49 -0000 1.1.2.6 --- _E_ArrayList.template 19 Aug 2009 05:01:49 -0000 1.1.2.7 *************** *** 1,4 **** --- 1,6 ---- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. + // Copyright (c) 2009, Rob Eden All Rights Reserved. + // Copyright (c) 2009, Jeff Randall All Rights Reserved. // // This library is free software; you can redistribute it and/or *************** *** 40,44 **** * A resizable, array-backed list of #e# primitives. */ - public class T#E#ArrayList implements T#E#List, Externalizable { static final long serialVersionUID = 1L; --- 42,45 ---- |
From: Jeff R. <uph...@us...> - 2009-08-19 05:01:07
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/impl In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12338/src/gnu/trove/impl Modified Files: Tag: TROVE_3_WORKING Constants.java Log Message: Update class javadoc, copyright Index: Constants.java =================================================================== RCS file: /cvsroot/trove4j/trove/src/gnu/trove/impl/Attic/Constants.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** Constants.java 18 Aug 2009 21:22:54 -0000 1.1.2.1 --- Constants.java 19 Aug 2009 05:00:46 -0000 1.1.2.2 *************** *** 1,4 **** --- 1,5 ---- // //////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, Rob Eden All Rights Reserved. + // Copyright (c) 2009, Jeff Randall All Rights Reserved. // // This library is free software; you can redistribute it and/or *************** *** 19,27 **** /** ! * Created by IntelliJ IDEA. ! * User: randall ! * Date: Aug 18, 2009 ! * Time: 4:01:05 PM ! * To change this template use File | Settings | File Templates. */ public class Constants { --- 20,24 ---- /** ! * Central location for constants needed by various implementations. */ public class Constants { |
From: Jeff R. <uph...@us...> - 2009-08-18 22:50:04
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/impl In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4232/src/gnu/trove/impl Added Files: Tag: TROVE_3_WORKING HashFunctions.java PrimeFinder.java Constants.java Log Message: Add implementation template for stacks and bring in previously top-level classes in the gnu.trove.impl package. --- NEW FILE: HashFunctions.java --- // Copyright (c) 1999 CERN - European Organization for Nuclear Research. // Permission to use, copy, modify, distribute and sell this software and // its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and that // both that copyright notice and this permission notice appear in // supporting documentation. CERN makes no representations about the // suitability of this software for any purpose. It is provided "as is" // without expressed or implied warranty. package gnu.trove.impl; /** * Provides various hash functions. * * @author wol...@ce... * @version 1.0, 09/24/99 */ public final class HashFunctions { /** * Returns a hashcode for the specified value. * * @return a hash code value for the specified value. */ public static int hash(double value) { assert !Double.isNaN(value) : "Values of NaN are not supported."; long bits = Double.doubleToLongBits(value); return (int)(bits ^ (bits >>> 32)); //return (int) Double.doubleToLongBits(value*663608941.737); //this avoids excessive hashCollisions in the case values are //of the form (1.0, 2.0, 3.0, ...) } /** * Returns a hashcode for the specified value. * * @return a hash code value for the specified value. */ public static int hash(float value) { assert !Float.isNaN(value) : "Values of NaN are not supported."; return Float.floatToIntBits(value*663608941.737f); // this avoids excessive hashCollisions in the case values are // of the form (1.0, 2.0, 3.0, ...) } /** * Returns a hashcode for the specified value. * * @return a hash code value for the specified value. */ public static int hash(int value) { // Multiply by prime to make sure hash can't be negative (see Knuth v3, p. 515-516) return value * 31; } /** * Returns a hashcode for the specified value. * * @return a hash code value for the specified value. */ public static int hash(long value) { // Multiply by prime to make sure hash can't be negative (see Knuth v3, p. 515-516) return ((int)(value ^ (value >>> 32))) * 31; } /** * Returns a hashcode for the specified object. * * @return a hash code value for the specified object. */ public static int hash(Object object) { return object==null ? 0 : object.hashCode(); } /** * In profiling, it has been found to be faster to have our own local implementation * of "ceil" rather than to call to {@link Math#ceil(double)}. */ static int fastCeil( float v ) { int possible_result = ( int ) v; if ( v - possible_result > 0 ) possible_result++; return possible_result; } } --- NEW FILE: PrimeFinder.java --- // Copyright (c) 1999 CERN - European Organization for Nuclear Research. // Permission to use, copy, modify, distribute and sell this software // and its documentation for any purpose is hereby granted without fee, // provided that the above copyright notice appear in all copies and // that both that copyright notice and this permission notice appear in // supporting documentation. CERN makes no representations about the // suitability of this software for any purpose. It is provided "as is" // without expressed or implied warranty. package gnu.trove.impl; import java.util.Arrays; /* * Modified for Trove to use the java.util.Arrays sort/search * algorithms instead of those provided with colt. */ /** * Used to keep hash table capacities prime numbers. * Not of interest for users; only for implementors of hashtables. * * <p>Choosing prime numbers as hash table capacities is a good idea * to keep them working fast, particularly under hash table * expansions. * * <p>However, JDK 1.2, JGL 3.1 and many other toolkits do nothing to * keep capacities prime. This class provides efficient means to * choose prime capacities. * * <p>Choosing a prime is <tt>O(log 300)</tt> (binary search in a list * of 300 ints). Memory requirements: 1 KB static memory. * * @author wol...@ce... * @version 1.0, 09/24/99 */ public final class PrimeFinder { /** * The largest prime this class can generate; currently equal to * <tt>Integer.MAX_VALUE</tt>. */ public static final int largestPrime = Integer.MAX_VALUE; //yes, it is prime. /** * The prime number list consists of 11 chunks. * * Each chunk contains prime numbers. * * A chunk starts with a prime P1. The next element is a prime * P2. P2 is the smallest prime for which holds: P2 >= 2*P1. * * The next element is P3, for which the same holds with respect * to P2, and so on. * * Chunks are chosen such that for any desired capacity >= 1000 * the list includes a prime number <= desired capacity * 1.11. * * Therefore, primes can be retrieved which are quite close to any * desired capacity, which in turn avoids wasting memory. * * For example, the list includes * 1039,1117,1201,1277,1361,1439,1523,1597,1759,1907,2081. * * So if you need a prime >= 1040, you will find a prime <= * 1040*1.11=1154. * * Chunks are chosen such that they are optimized for a hashtable * growthfactor of 2.0; * * If your hashtable has such a growthfactor then, after initially * "rounding to a prime" upon hashtable construction, it will * later expand to prime capacities such that there exist no * better primes. * * In total these are about 32*10=320 numbers -> 1 KB of static * memory needed. * * If you are stingy, then delete every second or fourth chunk. */ private static final int[] primeCapacities = { //chunk #0 largestPrime, //chunk #1 5,11,23,47,97,197,397,797,1597,3203,6421,12853,25717,51437,102877,205759, 411527,823117,1646237,3292489,6584983,13169977,26339969,52679969,105359939, 210719881,421439783,842879579,1685759167, //chunk #2 433,877,1759,3527,7057,14143,28289,56591,113189,226379,452759,905551,1811107, 3622219,7244441,14488931,28977863,57955739,115911563,231823147,463646329,927292699, 1854585413, //chunk #3 953,1907,3821,7643,15287,30577,61169,122347,244703,489407,978821,1957651,3915341, 7830701,15661423,31322867,62645741,125291483,250582987,501165979,1002331963, 2004663929, //chunk #4 1039,2081,4177,8363,16729,33461,66923,133853,267713,535481,1070981,2141977,4283963, 8567929,17135863,34271747,68543509,137087021,274174111,548348231,1096696463, //chunk #5 31,67,137,277,557,1117,2237,4481,8963,17929,35863,71741,143483,286973,573953, 1147921,2295859,4591721,9183457,18366923,36733847,73467739,146935499,293871013, 587742049,1175484103, //chunk #6 599,1201,2411,4831,9677,19373,38747,77509,155027,310081,620171,1240361,2480729, 4961459,9922933,19845871,39691759,79383533,158767069,317534141,635068283,1270136683, //chunk #7 311,631,1277,2557,5119,10243,20507,41017,82037,164089,328213,656429,1312867, 2625761,5251529,10503061,21006137,42012281,84024581,168049163,336098327,672196673, 1344393353, //chunk #8 3,7,17,37,79,163,331,673,1361,2729,5471,10949,21911,43853,87719,175447,350899, 701819,1403641,2807303,5614657,11229331,22458671,44917381,89834777,179669557, 359339171,718678369,1437356741, //chunk #9 43,89,179,359,719,1439,2879,5779,11579,23159,46327,92657,185323,370661,741337, 1482707,2965421,5930887,11861791,23723597,47447201,94894427,189788857,379577741, 759155483,1518310967, //chunk #10 379,761,1523,3049,6101,12203,24407,48817,97649,195311,390647,781301,1562611, 3125257,6250537,12501169,25002389,50004791,100009607,200019221,400038451,800076929, 1600153859 }; static { //initializer // The above prime numbers are formatted for human readability. // To find numbers fast, we sort them once and for all. Arrays.sort(primeCapacities); } /** * Returns a prime number which is <code>>= desiredCapacity</code> * and very close to <code>desiredCapacity</code> (within 11% if * <code>desiredCapacity >= 1000</code>). * * @param desiredCapacity the capacity desired by the user. * @return the capacity which should be used for a hashtable. */ public static final int nextPrime(int desiredCapacity) { int i = Arrays.binarySearch(primeCapacities, desiredCapacity); if (i<0) { // desired capacity not found, choose next prime greater // than desired capacity i = -i -1; // remember the semantics of binarySearch... } return primeCapacities[i]; } } --- NEW FILE: Constants.java --- // //////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, Rob Eden All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. // //////////////////////////////////////////////////////////////////////////// package gnu.trove.impl; /** * Created by IntelliJ IDEA. * User: randall * Date: Aug 18, 2009 * Time: 4:01:05 PM * To change this template use File | Settings | File Templates. */ public class Constants { /** the default capacity for new collections */ public static final int DEFAULT_CAPACITY = 10; } |
From: Jeff R. <uph...@us...> - 2009-08-18 22:50:03
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/list/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6993/templates/gnu/trove/list/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayList.template Log Message: Implement the clonable interface we claim to support. Index: _E_ArrayList.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/list/array/Attic/_E_ArrayList.template,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** _E_ArrayList.template 18 Aug 2009 21:27:42 -0000 1.1.2.3 --- _E_ArrayList.template 18 Aug 2009 21:46:31 -0000 1.1.2.4 *************** *** 482,486 **** * @return a deep clone of the list. */ ! public Object clone() { T#E#ArrayList list = null; try { --- 482,486 ---- * @return a deep clone of the list. */ ! public Object clone() throws CloneNotSupportedException { T#E#ArrayList list = null; try { |
From: Jeff R. <uph...@us...> - 2009-08-18 22:11:04
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/list/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9438/templates/gnu/trove/list/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayList.template Log Message: Remove clone and Cloneable, implement copy constructors instead. Add equals()/hashcode() to stacks, simplify stack externalization Index: _E_ArrayList.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/list/array/Attic/_E_ArrayList.template,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** _E_ArrayList.template 18 Aug 2009 21:52:24 -0000 1.1.2.5 --- _E_ArrayList.template 18 Aug 2009 22:10:49 -0000 1.1.2.6 *************** *** 41,45 **** */ ! public class T#E#ArrayList implements T#E#List, Externalizable, Cloneable { static final long serialVersionUID = 1L; --- 41,45 ---- */ ! public class T#E#ArrayList implements T#E#List, Externalizable { static final long serialVersionUID = 1L; *************** *** 73,76 **** --- 73,88 ---- /** + * Creates a new <code>T#E#ArrayList</code> instance that is + * a copy of the instanced passed to us. + * + * @param list the instance to copy + */ + public T#E#ArrayList ( T#E#ArrayList list ) { + this._data = list.toNativeArray(); + this._pos = list._pos; + } + + + /** * Creates a new <code>T#E#ArrayList</code> instance whose * capacity is the greater of the length of <tt>values</tt> and *************** *** 477,499 **** /** - * Returns a clone of this list. Since this is a primitive - * collection, this will be a deep clone. - * - * @return a deep clone of the list. - */ - public Object clone() { - T#E#ArrayList list = null; - try { - list = ( T#E#ArrayList ) super.clone(); - list._data = toNativeArray(); - } - catch ( CloneNotSupportedException e ) { - // it's supported - } // end of try-catch - return list; - } - - - /** * Returns a sublist of this list. * --- 489,492 ---- |
From: Jeff R. <uph...@us...> - 2009-08-18 22:10:59
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9438/templates/gnu/trove/stack/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayStack.template Log Message: Remove clone and Cloneable, implement copy constructors instead. Add equals()/hashcode() to stacks, simplify stack externalization Index: _E_ArrayStack.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/stack/array/Attic/_E_ArrayStack.template,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -C2 -d -r1.1.2.3 -r1.1.2.4 *** _E_ArrayStack.template 18 Aug 2009 21:52:24 -0000 1.1.2.3 --- _E_ArrayStack.template 18 Aug 2009 22:10:49 -0000 1.1.2.4 *************** *** 38,42 **** * A stack of #e# primitives. */ ! public class T#E#ArrayStack implements T#E#Stack, Externalizable, Cloneable { /** the list used to hold the stack values. */ --- 38,42 ---- * A stack of #e# primitives. */ ! public class T#E#ArrayStack implements T#E#Stack, Externalizable { /** the list used to hold the stack values. */ *************** *** 64,67 **** --- 64,77 ---- /** + * Creates a new <code>T#E#ArrayStack</code> instance that is + * a copy of the instanced passed to us. + * + * @param stack the instance to copy + */ + public T#E#ArrayStack( T#E#ArrayStack stack ) { + this._list = new T#E#ArrayList( stack._list ); + } + + /** * Pushes the value onto the top of the stack. * *************** *** 126,158 **** ! /** ! * Returns a clone of this stack. Since this is a primitive ! * collection, this will be a deep clone. ! * ! * @return a deep clone of the stack. ! */ ! public Object clone() { ! T#E#ArrayStack stack = null; ! try { ! stack = ( T#E#ArrayStack ) super.clone(); ! stack._list = ( T#E#ArrayList ) _list.clone(); } ! catch ( CloneNotSupportedException e ) { ! // it's supported ! } // end of try-catch ! return stack; } ! public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); ! // ENTRIES ! int len = _list.size(); ! out.writeInt( len ); ! for( int i = 0; i < len; i++ ) { ! out.write#E#( _list.get( i ) ); ! } } --- 136,163 ---- ! public boolean equals( Object o ) { ! if ( this == o ) { ! return true; } ! if ( o == null || getClass() != o.getClass() ) { ! return false; ! } ! ! T#E#ArrayStack that = ( T#E#ArrayStack ) o; ! ! return _list.equals( that._list ); } ! public int hashCode() { ! return _list.hashCode(); ! } ! ! public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); ! // LIST ! out.writeObject( _list ); } *************** *** 163,173 **** in.readByte(); ! // ENTRIES ! int len = in.readInt(); ! _list = new T#E#ArrayList( len ); ! for( int i = 0; i < len; i++ ) { ! #e# val = in.read#E#(); ! _list.set( i, val ); ! } } } \ No newline at end of file --- 168,173 ---- in.readByte(); ! // LIST ! _list = ( T#E#ArrayList ) in.readObject(); } } \ No newline at end of file |
From: Jeff R. <uph...@us...> - 2009-08-18 21:52:40
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/list/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7535/templates/gnu/trove/list/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayList.template Log Message: Remove CloneNotSupportedException Index: _E_ArrayList.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/list/array/Attic/_E_ArrayList.template,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** _E_ArrayList.template 18 Aug 2009 21:46:31 -0000 1.1.2.4 --- _E_ArrayList.template 18 Aug 2009 21:52:24 -0000 1.1.2.5 *************** *** 482,486 **** * @return a deep clone of the list. */ ! public Object clone() throws CloneNotSupportedException { T#E#ArrayList list = null; try { --- 482,486 ---- * @return a deep clone of the list. */ ! public Object clone() { T#E#ArrayList list = null; try { |
From: Jeff R. <uph...@us...> - 2009-08-18 21:52:34
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7535/templates/gnu/trove/stack/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayStack.template Log Message: Remove CloneNotSupportedException Index: _E_ArrayStack.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/stack/array/Attic/_E_ArrayStack.template,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** _E_ArrayStack.template 18 Aug 2009 21:46:31 -0000 1.1.2.2 --- _E_ArrayStack.template 18 Aug 2009 21:52:24 -0000 1.1.2.3 *************** *** 132,136 **** * @return a deep clone of the stack. */ ! public Object clone() throws CloneNotSupportedException { T#E#ArrayStack stack = null; try { --- 132,136 ---- * @return a deep clone of the stack. */ ! public Object clone() { T#E#ArrayStack stack = null; try { |
From: Jeff R. <uph...@us...> - 2009-08-18 21:46:42
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv6993/templates/gnu/trove/stack/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayStack.template Log Message: Implement the clonable interface we claim to support. Index: _E_ArrayStack.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/stack/array/Attic/_E_ArrayStack.template,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** _E_ArrayStack.template 18 Aug 2009 21:22:54 -0000 1.1.2.1 --- _E_ArrayStack.template 18 Aug 2009 21:46:31 -0000 1.1.2.2 *************** *** 125,128 **** --- 125,147 ---- } + + /** + * Returns a clone of this stack. Since this is a primitive + * collection, this will be a deep clone. + * + * @return a deep clone of the stack. + */ + public Object clone() throws CloneNotSupportedException { + T#E#ArrayStack stack = null; + try { + stack = ( T#E#ArrayStack ) super.clone(); + stack._list = ( T#E#ArrayList ) _list.clone(); + } + catch ( CloneNotSupportedException e ) { + // it's supported + } // end of try-catch + return stack; + } + public void writeExternal( ObjectOutput out ) throws IOException { |
From: Jeff R. <uph...@us...> - 2009-08-18 21:27:54
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/list/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4736/templates/gnu/trove/list/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayList.template Log Message: Tighten imports to just the one class from each package we need. Index: _E_ArrayList.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/list/array/Attic/_E_ArrayList.template,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** _E_ArrayList.template 18 Aug 2009 21:22:54 -0000 1.1.2.2 --- _E_ArrayList.template 18 Aug 2009 21:27:42 -0000 1.1.2.3 *************** *** 19,25 **** package gnu.trove.list.array; ! import gnu.trove.function.*; ! import gnu.trove.list.*; ! import gnu.trove.procedure.*; import gnu.trove.impl.*; --- 19,25 ---- package gnu.trove.list.array; ! import gnu.trove.function.T#E#Function; ! import gnu.trove.list.T#E#List; ! import gnu.trove.procedure.T#E#Procedure; import gnu.trove.impl.*; |
From: Jeff R. <uph...@us...> - 2009-08-18 21:23:06
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/list/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4232/templates/gnu/trove/list/array Modified Files: Tag: TROVE_3_WORKING _E_ArrayList.template Log Message: Add implementation template for stacks and bring in previously top-level classes in the gnu.trove.impl package. Index: _E_ArrayList.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/list/array/Attic/_E_ArrayList.template,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** _E_ArrayList.template 14 Aug 2009 21:20:57 -0000 1.1.2.1 --- _E_ArrayList.template 18 Aug 2009 21:22:54 -0000 1.1.2.2 *************** *** 22,26 **** import gnu.trove.list.*; import gnu.trove.procedure.*; ! import gnu.trove.util.*; import java.io.Externalizable; --- 22,26 ---- import gnu.trove.list.*; import gnu.trove.procedure.*; ! import gnu.trove.impl.*; import java.io.Externalizable; *************** *** 51,55 **** /** the default capacity for new lists */ ! protected static final int DEFAULT_CAPACITY = 10; /** --- 51,55 ---- /** the default capacity for new lists */ ! protected static final int DEFAULT_CAPACITY = Constants.DEFAULT_CAPACITY; /** |
From: Jeff R. <uph...@us...> - 2009-08-18 21:23:04
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv4232/templates/gnu/trove/stack/array Added Files: Tag: TROVE_3_WORKING _E_ArrayStack.template Log Message: Add implementation template for stacks and bring in previously top-level classes in the gnu.trove.impl package. --- NEW FILE: _E_ArrayStack.template --- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. /////////////////////////////////////////////////////////////////////////////// package gnu.trove.stack.array; ////////////////////////////////////////////////// // THIS IS A GENERATED CLASS. DO NOT HAND EDIT! // ////////////////////////////////////////////////// import gnu.trove.stack.T#E#Stack; import gnu.trove.list.array.T#E#ArrayList; import gnu.trove.impl.*; import java.io.Externalizable; import java.io.ObjectInput; import java.io.ObjectOutput; import java.io.IOException; /** * A stack of #e# primitives. */ public class T#E#ArrayStack implements T#E#Stack, Externalizable, Cloneable { /** the list used to hold the stack values. */ protected T#E#ArrayList _list; public static final int DEFAULT_CAPACITY = Constants.DEFAULT_CAPACITY; /** * Creates a new <code>T#E#ArrayStack</code> instance with the default * capacity. */ public T#E#ArrayStack() { this(DEFAULT_CAPACITY); } /** * Creates a new <code>T#E#ArrayStack</code> instance with the * specified capacity. * * @param capacity the initial depth of the stack */ public T#E#ArrayStack( int capacity ) { _list = new T#E#ArrayList( capacity ); } /** * Pushes the value onto the top of the stack. * * @param val an <code>#e#</code> value */ public void push( #e# val ) { _list.add( val ); } /** * Removes and returns the value at the top of the stack. * * @return an <code>#e#</code> value */ public #e# pop() { return _list.remove( _list.size() - 1 ); } /** * Returns the value at the top of the stack. * * @return an <code>#e#</code> value */ public #e# peek() { return _list.get(_list.size() - 1); } /** * Returns the current depth of the stack. */ public int size() { return _list.size(); } /** * Clears the stack. */ public void clear() { _list.clear( DEFAULT_CAPACITY ); } /** * Copies the contents of the stack into a native array. Note that this will NOT * pop them out of the stack. * * @return an <code>#e#[]</code> value */ public #e#[] toNativeArray() { return _list.toNativeArray(); } /** * Copies a slice of the list into a native array. Note that this will NOT * pop them out of the stack. * * @param dest the array to copy into. */ public void toNativeArray( #e#[] dest ) { _list.toNativeArray( dest, 0, size() ); } public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // ENTRIES int len = _list.size(); out.writeInt( len ); for( int i = 0; i < len; i++ ) { out.write#E#( _list.get( i ) ); } } public void readExternal( ObjectInput in ) throws IOException, ClassNotFoundException { // VERSION in.readByte(); // ENTRIES int len = in.readInt(); _list = new T#E#ArrayList( len ); for( int i = 0; i < len; i++ ) { #e# val = in.read#E#(); _list.set( i, val ); } } } |
From: Jeff R. <uph...@us...> - 2009-08-18 20:59:38
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/impl In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2028/src/gnu/trove/impl Log Message: Directory /cvsroot/trove4j/trove/src/gnu/trove/impl added to the repository |
From: Rob E. <ro...@us...> - 2009-08-18 20:44:55
|
Update of /cvsroot/trove4j/trove/generator_src/gnu/trove/generator In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv550/trove/generator_src/gnu/trove/generator Modified Files: Tag: TROVE_3_WORKING Generator.java Log Message: Add "-c" flag to clean output dir Index: Generator.java =================================================================== RCS file: /cvsroot/trove4j/trove/generator_src/gnu/trove/generator/Attic/Generator.java,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** Generator.java 18 Aug 2009 20:28:11 -0000 1.1.2.2 --- Generator.java 18 Aug 2009 20:44:42 -0000 1.1.2.3 *************** *** 87,94 **** public static void main( String[] args ) throws Exception { ! File input_directory = new File( args[0] ); ! File output_directory = new File( args[1] ); if ( !input_directory.exists() ) { ! System.err.println( "Directory \"" + args[0] + "\" not found." ); System.exit( -1 ); return; --- 87,106 ---- public static void main( String[] args ) throws Exception { ! if ( args.length == 0 ) { ! System.out.println( "Usage: Generator [-c] <input_dir> <output_dir>" ); ! return; ! } ! ! int arg_index = 0; ! boolean clean_output = false; ! if ( args[ 0 ].equalsIgnoreCase( "-c" ) ) { ! clean_output = true; ! arg_index++; ! } ! ! File input_directory = new File( args[ arg_index++ ] ); ! File output_directory = new File( args[ arg_index++ ] ); if ( !input_directory.exists() ) { ! System.err.println( "Directory \"" + input_directory + "\" not found." ); System.exit( -1 ); return; *************** *** 97,102 **** --- 109,120 ---- output_directory.mkdirs(); } + root_output_dir = output_directory; + if ( clean_output ) { + System.out.println( "Removing contents of \"" + output_directory + "\"..." ); + cleanDir( output_directory ); + } + scanForFiles( input_directory, output_directory ); } *************** *** 331,334 **** --- 349,364 ---- + private static void cleanDir( File directory ) { + for( File file : directory.listFiles() ) { + if ( file.isDirectory() ) { + cleanDir( file ); + file.delete(); + } + + file.delete(); + } + } + + private static class WrapperInfo { final String primitive; |
From: Jeff R. <uph...@us...> - 2009-08-18 20:38:28
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv32315/templates/gnu/trove/stack/array Log Message: Directory /cvsroot/trove4j/trove/templates/gnu/trove/stack/array added to the repository |
From: Jeff R. <uph...@us...> - 2009-08-18 20:28:33
|
Update of /cvsroot/trove4j/trove/generator_src/gnu/trove/generator In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31255/generator_src/gnu/trove/generator Modified Files: Tag: TROVE_3_WORKING Generator.java Log Message: Update Key/Value instances of E/F to use K and V to be more consistent. Index: Generator.java =================================================================== RCS file: /cvsroot/trove4j/trove/generator_src/gnu/trove/generator/Attic/Generator.java,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** Generator.java 14 Aug 2009 21:20:57 -0000 1.1.2.1 --- Generator.java 18 Aug 2009 20:28:11 -0000 1.1.2.2 *************** *** 60,69 **** private static final Pattern PATTERN_E_UNDERBAR; - private static final Pattern PATTERN_f; - private static final Pattern PATTERN_F; - private static final Pattern PATTERN_FT; - private static final Pattern PATTERN_FMAX; - private static final Pattern PATTERN_FMIN; - private static final Pattern PATTERN_F_UNDERBAR; static { PATTERN_v = Pattern.compile( "#v#" ); --- 60,63 ---- *************** *** 87,97 **** PATTERN_EMIN = Pattern.compile( "#EMIN#" ); PATTERN_E_UNDERBAR = Pattern.compile( "_E_" ); - - PATTERN_f = Pattern.compile( "#f#" ); - PATTERN_F = Pattern.compile( "#F#" ); - PATTERN_FT = Pattern.compile( "#FT#" ); - PATTERN_FMAX = Pattern.compile( "#FMAX#" ); - PATTERN_FMIN = Pattern.compile( "#FMIN#" ); - PATTERN_F_UNDERBAR = Pattern.compile( "_F_" ); } --- 81,84 ---- *************** *** 144,153 **** file_name = file_name.replaceAll( "\\.template", ".java" ); ! // See what kind of template markers it's using, either e/f or k/v if ( file_name.contains( "_K_" ) ) { processKVMarkers( content, output_directory, file_name ); } else if ( file_name.contains( "_E_" ) ) { ! processEFMarkers( content, output_directory, file_name ); } } --- 131,140 ---- file_name = file_name.replaceAll( "\\.template", ".java" ); ! // See what kind of template markers it's using, either e or k/v if ( file_name.contains( "_K_" ) ) { processKVMarkers( content, output_directory, file_name ); } else if ( file_name.contains( "_E_" ) ) { ! processEMarkers( content, output_directory, file_name ); } } *************** *** 157,254 **** String file_name ) throws IOException { ! for ( int i = 0; i < WRAPPERS.length; i++ ) { ! WrapperInfo info = WRAPPERS[i]; ! ! String k = info.primitive; ! String KT = info.class_name; ! String K = shortInt( KT ); ! String KMAX = info.max_value; ! String KMIN = info.min_value; ! ! String out = content; ! out = PATTERN_k.matcher( out ).replaceAll( k ); ! out = PATTERN_K.matcher( out ).replaceAll( K ); ! out = PATTERN_KT.matcher( out ).replaceAll( KT ); ! out = PATTERN_KMAX.matcher( out ).replaceAll( KMAX ); ! out = PATTERN_KMIN.matcher( out ).replaceAll( KMIN ); ! String out_file_name = "T" + file_name; ! out_file_name = PATTERN_K_UNDERBAR.matcher( out_file_name ).replaceAll( K ); ! for ( int j = 0; j < WRAPPERS.length; j++ ) { ! WrapperInfo jinfo = WRAPPERS[j]; ! String v = jinfo.primitive; ! String VT = jinfo.class_name; ! String V = shortInt( VT ); ! String VMAX = jinfo.max_value; ! String VMIN = jinfo.min_value; ! String vout = out; ! vout = PATTERN_v.matcher( vout ).replaceAll( v ); ! vout = PATTERN_V.matcher( vout ).replaceAll( V ); ! vout = PATTERN_VT.matcher( vout ).replaceAll( VT ); ! vout = PATTERN_VMAX.matcher( vout ).replaceAll( VMAX ); ! vout = PATTERN_VMIN.matcher( vout ).replaceAll( VMIN ); ! writeFile( vout, new File( output_dir, ! PATTERN_V_UNDERBAR.matcher( out_file_name ).replaceAll( V ) ) ); ! } ! } } ! private static void processEFMarkers( String content, File output_dir, String file_name ) throws IOException { ! boolean needs_f_processing = file_name.contains( "_F_" ); ! ! for ( int i = 0; i < WRAPPERS.length; i++ ) { ! WrapperInfo info = WRAPPERS[i]; ! ! String e = info.primitive; ! String ET = info.class_name; ! String E = shortInt( ET ); ! String EMAX = info.max_value; ! String EMIN = info.min_value; ! ! String out = content; ! out = PATTERN_e.matcher( out ).replaceAll( e ); ! out = PATTERN_E.matcher( out ).replaceAll( E ); ! out = PATTERN_ET.matcher( out ).replaceAll( ET ); ! out = PATTERN_EMAX.matcher( out ).replaceAll( EMAX ); ! out = PATTERN_EMIN.matcher( out ).replaceAll( EMIN ); ! ! String out_file_name = "T" + file_name; ! out_file_name = PATTERN_E_UNDERBAR.matcher( out_file_name ).replaceAll( E ); ! ! if ( !needs_f_processing ) { ! writeFile( out, new File( output_dir, out_file_name ) ); ! continue; ! } ! ! ! for ( int j = 0; j < WRAPPERS.length; j++ ) { ! WrapperInfo jinfo = WRAPPERS[j]; ! String f = jinfo.primitive; ! String FT = jinfo.class_name; ! String F = shortInt( FT ); ! String FMAX = jinfo.max_value; ! String FMIN = jinfo.min_value; ! String fout = out; - fout = PATTERN_f.matcher( fout ).replaceAll( f ); - fout = PATTERN_F.matcher( fout ).replaceAll( F ); - fout = PATTERN_FT.matcher( fout ).replaceAll( FT ); - fout = PATTERN_FMAX.matcher( fout ).replaceAll( FMAX ); - fout = PATTERN_FMIN.matcher( fout ).replaceAll( FMIN ); ! writeFile( fout, new File( output_dir, ! PATTERN_F_UNDERBAR.matcher( out_file_name ).replaceAll( F ) ) ); ! } ! } } --- 144,209 ---- String file_name ) throws IOException { ! for ( WrapperInfo info : WRAPPERS ) { ! String k = info.primitive; ! String KT = info.class_name; ! String K = shortInt( KT ); ! String KMAX = info.max_value; ! String KMIN = info.min_value; ! String out = content; ! out = PATTERN_k.matcher( out ).replaceAll( k ); ! out = PATTERN_K.matcher( out ).replaceAll( K ); ! out = PATTERN_KT.matcher( out ).replaceAll( KT ); ! out = PATTERN_KMAX.matcher( out ).replaceAll( KMAX ); ! out = PATTERN_KMIN.matcher( out ).replaceAll( KMIN ); ! String out_file_name = "T" + file_name; ! out_file_name = PATTERN_K_UNDERBAR.matcher( out_file_name ).replaceAll( K ); ! for ( WrapperInfo jinfo : WRAPPERS ) { ! String v = jinfo.primitive; ! String VT = jinfo.class_name; ! String V = shortInt( VT ); ! String VMAX = jinfo.max_value; ! String VMIN = jinfo.min_value; ! String vout = out; ! vout = PATTERN_v.matcher( vout ).replaceAll( v ); ! vout = PATTERN_V.matcher( vout ).replaceAll( V ); ! vout = PATTERN_VT.matcher( vout ).replaceAll( VT ); ! vout = PATTERN_VMAX.matcher( vout ).replaceAll( VMAX ); ! vout = PATTERN_VMIN.matcher( vout ).replaceAll( VMIN ); ! writeFile( vout, new File( output_dir, ! PATTERN_V_UNDERBAR.matcher( out_file_name ).replaceAll( V ) ) ); ! } ! } } ! private static void processEMarkers( String content, File output_dir, String file_name ) throws IOException { ! for ( WrapperInfo info : WRAPPERS ) { ! String e = info.primitive; ! String ET = info.class_name; ! String E = shortInt( ET ); ! String EMAX = info.max_value; ! String EMIN = info.min_value; ! String out = content; ! out = PATTERN_e.matcher( out ).replaceAll( e ); ! out = PATTERN_E.matcher( out ).replaceAll( E ); ! out = PATTERN_ET.matcher( out ).replaceAll( ET ); ! out = PATTERN_EMAX.matcher( out ).replaceAll( EMAX ); ! out = PATTERN_EMIN.matcher( out ).replaceAll( EMIN ); ! String out_file_name = "T" + file_name; ! out_file_name = PATTERN_E_UNDERBAR.matcher( out_file_name ).replaceAll( E ); ! writeFile( out, new File( output_dir, out_file_name ) ); ! } } *************** *** 376,380 **** ! private static class WrapperInfo { final String primitive; final String class_name; --- 331,335 ---- ! private static class WrapperInfo { final String primitive; final String class_name; |
From: Jeff R. <uph...@us...> - 2009-08-18 20:28:26
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/iterator In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31255/templates/gnu/trove/iterator Added Files: Tag: TROVE_3_WORKING _K__V_Iterator.template Removed Files: Tag: TROVE_3_WORKING _E__F_Iterator.template Log Message: Update Key/Value instances of E/F to use K and V to be more consistent. --- NEW FILE: _K__V_Iterator.template --- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. /////////////////////////////////////////////////////////////////////////////// package gnu.trove.iterator; ////////////////////////////////////////////////// // THIS IS A GENERATED CLASS. DO NOT HAND EDIT! // ////////////////////////////////////////////////// /** * Iterator for maps of type #k# and #v#. * * <p>The iterator semantics for Trove's primitive maps is slightly different * from those defined in <tt>java.util.Iterator</tt>, but still well within * the scope of the pattern, as defined by Gamma, et al.</p> * * <p>This iterator does <b>not</b> implicitly advance to the next entry when * the value at the current position is retrieved. Rather, you must explicitly * ask the iterator to <tt>advance()</tt> and then retrieve either the <tt>key()</tt>, * the <tt>value()</tt> or both. This is done so that you have the option, but not * the obligation, to retrieve keys and/or values as your application requires, and * without introducing wrapper objects that would carry both. As the iteration is * stateful, access to the key/value parts of the current map entry happens in * constant time.</p> * * <p>In practice, the iterator is akin to a "search finger" that you move from * position to position. Read or write operations affect the current entry only and * do not assume responsibility for moving the finger.</p> * * <p>Here are some sample scenarios for this class of iterator:</p> * * <pre> * // accessing keys/values through an iterator: * for ( T#K##V#Iterator it = map.iterator(); it.hasNext(); ) { * it.advance(); * if ( satisfiesCondition( it.key() ) { * doSomethingWithValue( it.value() ); * } * } * </pre> * * <pre> * // modifying values in-place through iteration: * for ( T#K##V#Iterator it = map.iterator(); it.hasNext(); ) { * it.advance(); * if ( satisfiesCondition( it.key() ) { * it.setValue( newValueForKey( it.key() ) ); * } * } * </pre> * * <pre> * // deleting entries during iteration: * for ( T#K##V#Iterator it = map.iterator(); it.hasNext(); ) { * it.advance(); * if ( satisfiesCondition( it.key() ) { * it.remove(); * } * } * </pre> * * <pre> * // faster iteration by avoiding hasNext(): * T#K##V#Iterator iterator = map.iterator(); * for ( int i = map.size(); i-- > 0; ) { * iterator.advance(); * doSomethingWithKeyAndValue( iterator.key(), iterator.value() ); * } * </pre> */ public interface T#K##V#Iterator extends TAdvancingIterator { /** * Provides access to the key of the mapping at the iterator's position. * Note that you must <tt>advance()</tt> the iterator at least once * before invoking this method. * * @return the key of the entry at the iterator's current position. */ public #k# key(); /** * Provides access to the value of the mapping at the iterator's position. * Note that you must <tt>advance()</tt> the iterator at least once * before invoking this method. * * @return the value of the entry at the iterator's current position. */ public #v# value(); /** * Replace the value of the mapping at the iterator's position with the * specified value. Note that you must <tt>advance()</tt> the iterator at * least once before invoking this method. * * @param val the value to set in the current entry * @return the old value of the entry. */ public #v# setValue( #v# val ); } --- _E__F_Iterator.template DELETED --- |
From: Jeff R. <uph...@us...> - 2009-08-18 20:28:20
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/procedure In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31255/templates/gnu/trove/procedure Added Files: Tag: TROVE_3_WORKING _K__V_Procedure.template Removed Files: Tag: TROVE_3_WORKING _E__F_Procedure.template Log Message: Update Key/Value instances of E/F to use K and V to be more consistent. --- NEW FILE: _K__V_Procedure.template --- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. /////////////////////////////////////////////////////////////////////////////// package gnu.trove.procedure; ////////////////////////////////////////////////// // THIS IS A GENERATED CLASS. DO NOT HAND EDIT! // ////////////////////////////////////////////////// /** * Interface for procedures that take two parameters of type #k# and #v#. */ public interface T#K##V#Procedure { /** * Executes this procedure. A false return value indicates that * the application executing this procedure should not invoke this * procedure again. * * @param a a <code>#k#</code> value * @param b a <code>#v#</code> value * @return true if additional invocations of the procedure are * allowed. */ public boolean execute( #k# a, #v# b ); } --- _E__F_Procedure.template DELETED --- |
From: Rob E. <ro...@us...> - 2009-08-14 21:21:12
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/map In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31966/trove/templates/gnu/trove/map Added Files: Tag: TROVE_3_WORKING _K__V_Map.template Log Message: Trove 3 initial work --- NEW FILE: _K__V_Map.template --- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, Rob Eden All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. /////////////////////////////////////////////////////////////////////////////// package gnu.trove.map; ////////////////////////////////////////////////// // THIS IS A GENERATED CLASS. DO NOT HAND EDIT! // ////////////////////////////////////////////////// import gnu.trove.function.*; import gnu.trove.iterator.*; import gnu.trove.procedure.*; import java.io.Serializable; /** * Interface for a primitive map of #k# keys and #v# values. */ public interface T#K##V#Map extends Serializable { /** * Returns the value that will be returned from {@link #get} or {@link #put} if no * entry exists for a given key. The default value is generally zero, but can be * changed during construction of the collection. */ public #v# getNoEntryValue(); /** * Inserts a key/value pair into the map. * * @param key an <code>#k#</code> value * @param value an <code>#v#</code> value * * @return the previous value associated with <tt>key</tt>, or the "no entry" value * if none was found (see {@link #getNoEntryValue}). */ public #v# put( #k# key, #v# value ); /** * Inserts a key/value pair into the map if the specified key is not already * associated with a value. * * @param key an <code>#k#</code> value * @param value an <code>#v#</code> value * * @return the previous value associated with <tt>key</tt>, or the "no entry" value * if none was found (see {@link #getNoEntryValue}). */ public #v# putIfAbsent( #k# key, #v# value ); /** * Put all the entries from the given map into this map. * * @param map The map from which entries will be obtained to put into this map. */ public void putAll( T#K##V#Map map ); /** * Retrieves the value for <tt>key</tt> * * @param key an <code>#k#</code> value * * @return the previous value associated with <tt>key</tt>, or the "no entry" value * if none was found (see {@link #getNoEntryValue}). */ public #v# get( #k# key ); /** * Empties the map. * */ public void clear(); /** * Deletes a key/value pair from the map. * * @param key an <code>#k#</code> value * * @return the previous value associated with <tt>key</tt>, or the "no entry" value * if none was found (see {@link #getNoEntryValue}). */ public #v# remove( #k# key ); /** * Returns the values of the map. */ public #v#[] values(); /** * Returns the values of the map using an existing array. * * @param array the array into which the elements of the list are to be stored, * if it is big enough; otherwise, a new array of the same type is * allocated for this purpose. */ public #v#[] values( #v#[] array ); /** * Returns the keys of the map. */ public #k#[] keys(); /** * Returns the keys of the map. * * @param array the array into which the elements of the list are to be stored, * if it is big enough; otherwise, a new array of the same type is * allocated for this purpose. */ public #k#[] keys( #k#[] array ); /** * Checks for the presence of <tt>val</tt> in the values of the map. * * @param val an <code>#v#</code> value * @return a <code>boolean</code> value */ public boolean containsValue( #v# val ); /** * Checks for the present of <tt>key</tt> in the keys of the map. * * @param key an <code>#k#</code> value * @return a <code>boolean</code> value */ public boolean containsKey( #k# key ); /** * @return a T#K##V#Iterator with access to this map's keys and values */ public T#K##V#Iterator iterator(); /** * Executes <tt>procedure</tt> for each key in the map. * * @param procedure a <code>T#K#Procedure</code> value * @return false if the loop over the keys terminated because * the procedure returned false for some key. */ public boolean forEachKey( T#K#Procedure procedure ); /** * Executes <tt>procedure</tt> for each value in the map. * * @param procedure a <code>T#V#Procedure</code> value * @return false if the loop over the values terminated because * the procedure returned false for some value. */ public boolean forEachValue( T#V#Procedure procedure ); /** * Executes <tt>procedure</tt> for each key/value entry in the * map. * * @param procedure a <code>TO#K##V#Procedure</code> value * @return false if the loop over the entries terminated because * the procedure returned false for some entry. */ public boolean forEachEntry( T#K##V#Procedure procedure ); /** * Transform the values in this map using <tt>function</tt>. * * @param function a <code>T#V#Function</code> value */ public void transformValues( T#V#Function function ); /** * Retains only those entries in the map for which the procedure * returns a true value. * * @param procedure determines which entries to keep * @return true if the map was modified. */ public boolean retainEntries( T#K##V#Procedure procedure ); /** * Increments the primitive value mapped to key by 1 * * @param key the key of the value to increment * @return true if a mapping was found and modified. */ public boolean increment( #k# key ); /** * Adjusts the primitive value mapped to key. * * @param key the key of the value to increment * @param amount the amount to adjust the value by. * @return true if a mapping was found and modified. */ public boolean adjustValue( #k# key, #v# amount ); /** * Adjusts the primitive value mapped to the key if the key is present in the map. * Otherwise, the <tt>initial_value</tt> is put in the map. * * @param key the key of the value to increment * @param adjust_amount the amount to adjust the value by * @param put_amount the value put into the map if the key is not initial present * * @return the value present in the map after the adjustment or put operation */ public #v# adjustOrPutValue( #k# key, #v# adjust_amount, #v# put_amount ); } |
From: Rob E. <ro...@us...> - 2009-08-14 21:21:12
|
Update of /cvsroot/trove4j/trove/idea In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31966/trove/idea Added Files: Tag: TROVE_3_WORKING Trove3.ipr Trove3.iws Log Message: Trove 3 initial work --- NEW FILE: Trove3.ipr --- <?xml version="1.0" encoding="UTF-8"?> <project relativePaths="false" version="4"> <component name="AntConfiguration"> <defaultAnt bundledAnt="true" /> </component> <component name="BuildJarProjectSettings"> <option name="BUILD_JARS_ON_MAKE" value="false" /> </component> <component name="CCaseConfig"> <option name="checkoutReserved" value="false" /> <option name="markExternalChangeAsUpToDate" value="true" /> <option name="checkInUseHijack" value="true" /> <option name="useUcmModel" value="true" /> <option name="isOffline" value="false" /> <option name="synchOutside" value="false" /> <option name="isHistoryResticted" value="true" /> <option name="useIdenticalSwitch" value="true" /> <option name="synchActivitiesOnRefresh" value="true" /> <option name="lastScr" value="" /> <option name="scrTextFileName" value="" /> <option name="historyRevisionsNumber" value="4" /> </component> <component name="ChangeBrowserSettings"> <option name="MAIN_SPLITTER_PROPORTION" value="0.3" /> <option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" /> <option name="USE_DATE_BEFORE_FILTER" value="false" /> <option name="USE_DATE_AFTER_FILTER" value="false" /> <option name="USE_CHANGE_BEFORE_FILTER" value="false" /> <option name="USE_CHANGE_AFTER_FILTER" value="false" /> <option name="DATE_BEFORE" value="" /> <option name="DATE_AFTER" value="" /> <option name="CHANGE_BEFORE" value="" /> <option name="CHANGE_AFTER" value="" /> <option name="USE_USER_FILTER" value="false" /> <option name="USER" value="" /> </component> <component name="CodeStyleProjectProfileManger"> <option name="PROJECT_PROFILE" /> <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" /> </component> <component name="CodeStyleSettingsManager"> <option name="PER_PROJECT_SETTINGS" /> <option name="USE_PER_PROJECT_SETTINGS" value="false" /> </component> <component name="CompilerConfiguration"> <option name="DEFAULT_COMPILER" value="Javac" /> <option name="DEPLOY_AFTER_MAKE" value="0" /> <excludeFromCompile> <directory url="file:///Users/reden/Dropbox/Documents/Trove/version3/templates" includeSubdirectories="true" /> </excludeFromCompile> <resourceExtensions> <entry name=".+\.(properties|xml|html|dtd|tld)" /> <entry name=".+\.(gif|png|jpeg|jpg)" /> </resourceExtensions> <wildcardResourcePatterns> <entry name="?*.properties" /> <entry name="?*.xml" /> <entry name="?*.gif" /> <entry name="?*.png" /> <entry name="?*.jpeg" /> <entry name="?*.jpg" /> <entry name="?*.html" /> <entry name="?*.dtd" /> <entry name="?*.tld" /> </wildcardResourcePatterns> </component> <component name="CopyrightManager" default="Trove"> <copyright> <option name="notice" value="/////////////////////////////////////////////////////////////////////////////// // Copyright (c) &#36;today.year, Rob Eden All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. ///////////////////////////////////////////////////////////////////////////////" /> <option name="keyword" value="Copyright" /> <option name="myName" value="Trove" /> <option name="myLocal" value="true" /> </copyright> <module2copyright> <element module="All" copyright="Trove" /> </module2copyright> </component> <component name="Cvs2Configuration"> <option name="PRUNE_EMPTY_DIRECTORIES" value="true" /> <option name="MERGING_MODE" value="0" /> <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" /> <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" /> <option name="RESET_STICKY" value="false" /> <option name="CREATE_NEW_DIRECTORIES" value="true" /> <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" /> <option name="PROCESS_UNKNOWN_FILES" value="false" /> <option name="PROCESS_DELETED_FILES" value="false" /> <option name="PROCESS_IGNORED_FILES" value="false" /> <option name="RESERVED_EDIT" value="false" /> <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS"> <value> <option name="BRANCH" value="" /> <option name="DATE" value="" /> <option name="USE_BRANCH" value="false" /> <option name="USE_DATE" value="false" /> </value> </option> <option name="UPDATE_DATE_OR_REVISION_SETTINGS"> <value> <option name="BRANCH" value="" /> <option name="DATE" value="" /> <option name="USE_BRANCH" value="false" /> <option name="USE_DATE" value="false" /> </value> </option> <option name="SHOW_CHANGES_REVISION_SETTINGS"> <value> <option name="BRANCH" value="" /> <option name="DATE" value="" /> <option name="USE_BRANCH" value="false" /> <option name="USE_DATE" value="false" /> </value> </option> <option name="SHOW_OUTPUT" value="false" /> <option name="ADD_WATCH_INDEX" value="0" /> <option name="REMOVE_WATCH_INDEX" value="0" /> <option name="UPDATE_KEYWORD_SUBSTITUTION" /> <option name="MAKE_NEW_FILES_READONLY" value="false" /> <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" /> <option name="TAG_AFTER_PROJECT_COMMIT" value="false" /> <option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" /> <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" /> <option name="CLEAN_COPY" value="false" /> </component> <component name="DependenciesAnalyzeManager"> <option name="myForwardDirection" value="false" /> </component> <component name="DependencyValidationManager"> <option name="SKIP_IMPORT_STATEMENTS" value="false" /> </component> <component name="DynamicManagerImpl"> <option name="containingClasses"> <map /> </option> </component> <component name="EclipseCompilerSettings"> <option name="DEBUGGING_INFO" value="true" /> <option name="GENERATE_NO_WARNINGS" value="true" /> <option name="DEPRECATION" value="false" /> <option name="ADDITIONAL_OPTIONS_STRING" value="" /> <option name="MAXIMUM_HEAP_SIZE" value="128" /> </component> <component name="EclipseEmbeddedCompilerSettings"> <option name="DEBUGGING_INFO" value="true" /> <option name="GENERATE_NO_WARNINGS" value="true" /> <option name="DEPRECATION" value="false" /> <option name="ADDITIONAL_OPTIONS_STRING" value="" /> <option name="MAXIMUM_HEAP_SIZE" value="128" /> </component> <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" /> <component name="EntryPointsManager"> <entry_points version="2.0" /> </component> <component name="ExportToHTMLSettings"> <option name="PRINT_LINE_NUMBERS" value="false" /> <option name="OPEN_IN_BROWSER" value="false" /> <option name="OUTPUT_DIRECTORY" /> </component> <component name="FacetAutodetectingManager"> <autodetection-disabled> <facet-type id="google-app-engine" /> <facet-type id="Groovy" /> <facet-type id="ejb" /> <facet-type id="web" /> <facet-type id="jpa" /> <facet-type id="BeanValidation" /> <facet-type id="javaeeApplication" /> </autodetection-disabled> </component> <component name="HierarchyBrowserManager"> <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" /> <option name="SORT_ALPHABETICALLY" value="false" /> <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" /> </component> <component name="IdProvider" IDEtalkID="C48F5C980CDAF357749FBBB5CA132983" /> <component name="InspectionProjectProfileManager"> <option name="PROJECT_PROFILE" value="Project Default" /> <option name="USE_PROJECT_PROFILE" value="true" /> <version value="1.0" /> <profiles> <profile version="1.0" is_locked="false"> <option name="myName" value="Project Default" /> <option name="myLocal" value="false" /> </profile> </profiles> <list size="5"> <item index="0" class="java.lang.String" itemvalue="WARNING" /> <item index="1" class="java.lang.String" itemvalue="SERVER PROBLEM" /> <item index="2" class="java.lang.String" itemvalue="INFO" /> <item index="3" class="java.lang.String" itemvalue="TYPO" /> <item index="4" class="java.lang.String" itemvalue="ERROR" /> </list> </component> <component name="JavacSettings"> <option name="DEBUGGING_INFO" value="true" /> <option name="GENERATE_NO_WARNINGS" value="false" /> <option name="DEPRECATION" value="true" /> <option name="ADDITIONAL_OPTIONS_STRING" value="" /> <option name="MAXIMUM_HEAP_SIZE" value="128" /> </component> <component name="JavadocGenerationManager"> <option name="OUTPUT_DIRECTORY" /> <option name="OPTION_SCOPE" value="protected" /> <option name="OPTION_HIERARCHY" value="true" /> <option name="OPTION_NAVIGATOR" value="true" /> <option name="OPTION_INDEX" value="true" /> <option name="OPTION_SEPARATE_INDEX" value="true" /> <option name="OPTION_DOCUMENT_TAG_USE" value="false" /> <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" /> <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" /> <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" /> <option name="OPTION_DEPRECATED_LIST" value="true" /> <option name="OTHER_OPTIONS" value="" /> <option name="HEAP_SIZE" /> <option name="LOCALE" /> <option name="OPEN_IN_BROWSER" value="true" /> </component> <component name="JikesSettings"> <option name="JIKES_PATH" value="" /> <option name="DEBUGGING_INFO" value="true" /> <option name="DEPRECATION" value="true" /> <option name="GENERATE_NO_WARNINGS" value="false" /> <option name="IS_EMACS_ERRORS_MODE" value="true" /> <option name="ADDITIONAL_OPTIONS_STRING" value="" /> </component> <component name="LogConsolePreferences"> <option name="FILTER_ERRORS" value="false" /> <option name="FILTER_WARNINGS" value="false" /> <option name="FILTER_INFO" value="true" /> <option name="CUSTOM_FILTER" /> </component> <component name="Palette2"> <group name="Swing"> <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> </item> <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> </item> <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> </item> <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> </item> <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> <initial-values> <property name="text" value="Button" /> </initial-values> </item> <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> <initial-values> <property name="text" value="RadioButton" /> </initial-values> </item> <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> <initial-values> <property name="text" value="CheckBox" /> </initial-values> </item> <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> <initial-values> <property name="text" value="Label" /> </initial-values> </item> <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> <preferred-size width="150" height="-1" /> </default-constraints> </item> <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> <preferred-size width="150" height="-1" /> </default-constraints> </item> <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> <preferred-size width="150" height="-1" /> </default-constraints> </item> <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> <preferred-size width="150" height="50" /> </default-constraints> </item> <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> <preferred-size width="150" height="50" /> </default-constraints> </item> <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> <preferred-size width="150" height="50" /> </default-constraints> </item> <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> </item> <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> <preferred-size width="150" height="50" /> </default-constraints> </item> <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> <preferred-size width="150" height="50" /> </default-constraints> </item> <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> <preferred-size width="150" height="50" /> </default-constraints> </item> <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> <preferred-size width="200" height="200" /> </default-constraints> </item> <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> <preferred-size width="200" height="200" /> </default-constraints> </item> <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> </item> <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> </item> <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> </item> <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> </item> <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> <preferred-size width="-1" height="20" /> </default-constraints> </item> <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> </item> <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> </item> </group> </component> <component name="PerforceChangeBrowserSettings"> <option name="USE_CLIENT_FILTER" value="true" /> <option name="CLIENT" value="" /> </component> <component name="ProjectDetails"> <option name="projectName" value="Trove3" /> </component> <component name="ProjectDictionaryState"> <dictionary name="reden" /> </component> <component name="ProjectFileVersion" converted="true" /> <component name="ProjectKey"> <option name="state" value="project:///Users/reden/Dropbox/Documents/Trove/version3/idea/Trove3.ipr" /> </component> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/Trove/Trove.iml" filepath="$PROJECT_DIR$/Trove/Trove.iml" /> <module fileurl="file://$PROJECT_DIR$/Trove Generator/Trove Generator.iml" filepath="$PROJECT_DIR$/Trove Generator/Trove Generator.iml" /> </modules> </component> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.5" project-jdk-type="JavaSDK"> <output url="file:///Users/reden/Documents/Trove/classes" /> </component> <component name="ResourceManagerContainer"> <option name="myResourceBundles"> <value> <list size="0" /> </value> </option> </component> <component name="RmicSettings"> <option name="IS_EANABLED" value="false" /> <option name="DEBUGGING_INFO" value="true" /> <option name="GENERATE_NO_WARNINGS" value="false" /> <option name="GENERATE_IIOP_STUBS" value="false" /> <option name="ADDITIONAL_OPTIONS_STRING" value="" /> </component> <component name="StarteamConfiguration"> <option name="SERVER" value="" /> <option name="PORT" value="49201" /> <option name="USER" value="" /> <option name="PASSWORD" value="" /> <option name="PROJECT" value="" /> <option name="VIEW" value="" /> <option name="ALTERNATIVE_WORKING_PATH" value="" /> <option name="LOCK_ON_CHECKOUT" value="false" /> <option name="UNLOCK_ON_CHECKIN" value="false" /> </component> <component name="Struts Assistant"> <option name="showInputs" value="true" /> <option name="resources"> <value> <option name="strutsPath" /> <option name="strutsHelp" /> </value> </option> <option name="selectedTaglibs" /> <option name="selectedTaglibs" /> <option name="myStrutsValidationEnabled" value="true" /> <option name="myTilesValidationEnabled" value="true" /> <option name="myValidatorValidationEnabled" value="true" /> <option name="myReportErrorsAsWarnings" value="true" /> </component> <component name="SvnBranchConfigurationManager"> <option name="mySupportsUserInfoFilter" value="true" /> </component> <component name="SvnChangesBrowserSettings"> <option name="USE_AUTHOR_FIELD" value="true" /> <option name="AUTHOR" value="" /> <option name="LOCATION" value="" /> <option name="USE_PROJECT_SETTINGS" value="true" /> <option name="USE_ALTERNATE_LOCATION" value="false" /> </component> <component name="VCS.FileViewConfiguration"> <option name="SELECTED_STATUSES" value="DEFAULT" /> <option name="SELECTED_COLUMNS" value="DEFAULT" /> <option name="SHOW_FILTERS" value="true" /> <option name="CUSTOMIZE_VIEW" value="true" /> <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" /> </component> <component name="VcsDirectoryMappings"> <mapping directory="" vcs="" /> </component> <component name="VssConfiguration"> <option name="CLIENT_PATH" value="" /> <option name="SRCSAFEINI_PATH" value="" /> <option name="USER_NAME" value="" /> <option name="PWD" value="" /> <CheckoutOptions> <option name="COMMENT" value="" /> <option name="DO_NOT_GET_LATEST_VERSION" value="false" /> <option name="REPLACE_WRITABLE" value="false" /> <option name="RECURSIVE" value="false" /> </CheckoutOptions> <CheckinOptions> <option name="COMMENT" value="" /> <option name="KEEP_CHECKED_OUT" value="false" /> <option name="RECURSIVE" value="false" /> </CheckinOptions> <AddOptions> <option name="STORE_ONLY_LATEST_VERSION" value="false" /> <option name="CHECK_OUT_IMMEDIATELY" value="false" /> </AddOptions> <UndocheckoutOptions> <option name="MAKE_WRITABLE" value="false" /> <option name="REPLACE_LOCAL_COPY" value="0" /> <option name="RECURSIVE" value="false" /> </UndocheckoutOptions> <GetOptions> <option name="REPLACE_WRITABLE" value="0" /> <option name="MAKE_WRITABLE" value="false" /> <option name="ANSWER_NEGATIVELY" value="false" /> <option name="ANSWER_POSITIVELY" value="false" /> <option name="RECURSIVE" value="false" /> <option name="VERSION" /> </GetOptions> </component> <component name="WebServicesPlugin" addRequiredLibraries="true" /> <component name="com.intellij.ide.util.scopeChooser.ScopeChooserConfigurable" proportions="" version="1"> <option name="myLastEditedConfigurable" /> </component> <component name="com.intellij.jsf.UserDefinedFacesConfigs"> <option name="USER_DEFINED_CONFIGS"> <value> <list size="0" /> </value> </option> </component> <component name="com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootMasterDetailsConfigurable" proportions="" version="1"> <option name="myPlainMode" value="false" /> <option name="myLastEditedConfigurable" /> </component> <component name="com.intellij.profile.ui.ErrorOptionsConfigurable" proportions="" version="1"> <option name="myLastEditedConfigurable" /> </component> </project> --- NEW FILE: Trove3.iws --- <?xml version="1.0" encoding="UTF-8"?> <project relativePaths="false" version="4"> <component name="ChangeListManager"> <list default="true" readonly="true" id="47818f3c-8034-40fd-9451-ffae54442a79" name="Default" comment="" /> <ignored path=".idea/workspace.xml" /> <ignored path="Trove3.iws" /> </component> <component name="ChangesViewManager" flattened_view="true" show_ignored="false" /> <component name="CompilerWorkspaceConfiguration"> <option name="COMPILE_IN_BACKGROUND" value="false" /> </component> <component name="CreatePatchCommitExecutor"> <option name="PATCH_PATH" value="" /> <option name="REVERSE_PATCH" value="false" /> </component> <component name="DaemonCodeAnalyzer"> <disable_hints /> </component> <component name="DebuggerManager"> <breakpoint_any> <breakpoint> <option name="NOTIFY_CAUGHT" value="true" /> <option name="NOTIFY_UNCAUGHT" value="true" /> <option name="ENABLED" value="false" /> <option name="LOG_ENABLED" value="false" /> <option name="LOG_EXPRESSION_ENABLED" value="false" /> <option name="SUSPEND_POLICY" value="SuspendAll" /> <option name="COUNT_FILTER_ENABLED" value="false" /> <option name="COUNT_FILTER" value="0" /> <option name="CONDITION_ENABLED" value="false" /> <option name="CLASS_FILTERS_ENABLED" value="false" /> <option name="INSTANCE_FILTERS_ENABLED" value="false" /> <option name="CONDITION" value="" /> <option name="LOG_MESSAGE" value="" /> </breakpoint> <breakpoint> <option name="NOTIFY_CAUGHT" value="true" /> <option name="NOTIFY_UNCAUGHT" value="true" /> <option name="ENABLED" value="false" /> <option name="LOG_ENABLED" value="false" /> <option name="LOG_EXPRESSION_ENABLED" value="false" /> <option name="SUSPEND_POLICY" value="SuspendAll" /> <option name="COUNT_FILTER_ENABLED" value="false" /> <option name="COUNT_FILTER" value="0" /> <option name="CONDITION_ENABLED" value="false" /> <option name="CLASS_FILTERS_ENABLED" value="false" /> <option name="INSTANCE_FILTERS_ENABLED" value="false" /> <option name="CONDITION" value="" /> <option name="LOG_MESSAGE" value="" /> </breakpoint> </breakpoint_any> <breakpoint_rules /> <ui_properties /> </component> <component name="FavoritesManager"> <favorites_list name="Trove3" /> </component> <component name="FileColors" enabled="false" enabledForTabs="false" /> <component name="FileEditorManager"> <leaf> <file leaf-file-name="_E_ArrayList.template" pinned="false" current="false" current-in-tab="false"> <entry file="file:///Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/list/array/_E_ArrayList.template"> <provider selected="true" editor-type-id="text-editor"> <state line="829" column="0" selection-start="24754" selection-end="24754" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="TByteArrayList.java" pinned="false" current="false" current-in-tab="false"> <entry file="file:///Users/reden/Documents/Trove/gen_output/gnu/trove/list/array/TByteArrayList.java"> <provider selected="true" editor-type-id="text-editor"> <state line="16" column="47" selection-start="922" selection-end="922" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="Generator.java" pinned="false" current="true" current-in-tab="true"> <entry file="file:///Users/reden/Dropbox/Documents/Trove/version3/generator_src/gnu/trove/generator/Generator.java"> <provider selected="true" editor-type-id="text-editor"> <state line="308" column="28" selection-start="9922" selection-end="9922" vertical-scroll-proportion="0.1416765"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="TFloatList.java" pinned="false" current="false" current-in-tab="false"> <entry file="file:///Users/reden/Documents/Trove/gen_output/gnu/trove/list/TFloatList.java"> <provider selected="true" editor-type-id="text-editor"> <state line="196" column="32" selection-start="6170" selection-end="6170" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="HashFunctions.java" pinned="false" current="false" current-in-tab="false"> <entry file="file:///Users/reden/Documents/Trove/gen_output/gnu/trove/util/HashFunctions.java"> <provider selected="true" editor-type-id="text-editor"> <state line="10" column="22" selection-start="563" selection-end="563" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="_E_List.template" pinned="false" current="false" current-in-tab="false"> <entry file="file:///Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/list/_E_List.template"> <provider selected="true" editor-type-id="text-editor"> <state line="6" column="29" selection-start="356" selection-end="356" vertical-scroll-proportion="0.0"> <folding /> </state> </provider> </entry> </file> </leaf> </component> <component name="FindManager"> <FindUsagesManager> <setting name="OPEN_NEW_TAB" value="false" /> </FindUsagesManager> </component> <component name="IdeDocumentHistory"> <option name="changedFiles"> <list> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/maps/_K__V_Map.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/procedure/_E_Procedure.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/map/_K__V_Map.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/stack/_E_Stack.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/iterator/_E__F_Iterator.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/iterator/_E_Iterator.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/list/_E_List" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/procedure/_E__F_Procedure.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/procedure/_E_ObjectProcedure.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/procedure/Object_E_Procedure.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/function/_E_Function.template" /> <option value="/Users/reden/Documents/Trove/gen_output/gnu/trove/util/HashFunctions.java" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/list/array/_E_ArrayList.template" /> <option value="/Users/reden/Documents/Trove/gen_output/gnu/trove/list/array/TByteArrayList.java" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/templates/gnu/trove/list/_E_List.template" /> <option value="/Users/reden/Dropbox/Documents/Trove/version3/generator_src/gnu/trove/generator/Generator.java" /> </list> </option> </component> <component name="ModuleEditorState"> <option name="LAST_EDITED_MODULE_NAME" /> <option name="LAST_EDITED_TAB_NAME" /> </component> <component name="NamedScopeManager"> <scope name="Trove" pattern="file[Trove]:*/||file[Trove]:*||file[Trove]:*/||file[Trove]:*/||file[Trove]:src//*" /> </component> <component name="PerforceDirect.Settings"> <option name="port" value="jasper:1666" /> </component> <component name="ProjectInspectionProfilesVisibleTreeState"> <entry key="Project Default"> <profile-state /> </entry> </component> <component name="ProjectLevelVcsManager"> <OptionsSetting value="true" id="Add" /> <OptionsSetting value="true" id="Remove" /> <OptionsSetting value="true" id="Checkin" /> <OptionsSetting value="true" id="Checkout" /> <OptionsSetting value="true" id="Update" /> <OptionsSetting value="true" id="Status" /> <OptionsSetting value="true" id="Edit" /> <ConfirmationsSetting value="0" id="Add" /> <ConfirmationsSetting value="0" id="Remove" /> </component> <component name="ProjectPane"> <subPane> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> </PATH> </subPane> </component> <component name="ProjectReloadState"> <option name="STATE" value="0" /> </component> <component name="ProjectView"> <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5"> <flattenPackages /> <showMembers /> <showModules /> <showLibraryContents /> <hideEmptyPackages ProjectPane="false" /> <abbreviatePackageNames /> <autoscrollToSource /> <autoscrollFromSource /> <sortByType /> </navigator> <panes> <pane id="Scope" /> <pane id="Favorites" /> <pane id="ProjectPane"> <subPane> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove Generator" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove Generator" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="generator_src" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="gnu" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="generator" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="version3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="version3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="templates" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="gnu" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="stack" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="version3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="templates" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="gnu" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="version3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="templates" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="gnu" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="map" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="version3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="templates" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="gnu" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="list" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="version3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="templates" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="gnu" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="list" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="array" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="Trove3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="Trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="version3" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="src" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="gnu" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="trove" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="iterator" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> </subPane> </pane> <pane id="PackagesPane" /> </panes> </component> <component name="PropertiesComponent"> <property name="project.structure.proportion" value="0.15" /> <property name="MemberChooser.copyJavadoc" value="false" /> <property name="project.structure.last.edited" value="Modules" /> <property name="options.splitter.main.proportions" value="0.3" /> <property name="MemberChooser.sorted" value="false" /> <property name="options.searchVisible" value="true" /> <property name="GoToFile.includeJavaFiles" value="false" /> <property name="recentsLimit" value="5" /> <property name="GoToClass.includeLibraries" value="false" /> <property name="options.splitter.details.proportions" value="0.2" /> <property name="dynamic.classpath" value="false" /> <property name="MemberChooser.showClasses" value="true" /> <property name="project.structure.side.proportion" value="0.2" /> <property name="options.lastSelected" value="com.intellij.compiler.options.CompilerConfigurable$3" /> <property name="GoToClass.toSaveIncludeLibraries" value="false" /> <property name="OverrideImplement.combined" value="true" /> <property name="RunManagerConfig.showSettingsBeforeRunnig" value="false" /> </component> <component name="RunManager" selected="Application.Generator"> <configuration default="true" type="Remote" factoryName="Remote"> <option name="USE_SOCKET_TRANSPORT" value="true" /> <option name="SERVER_MODE" value="false" /> <option name="SHMEM_ADDRESS" value="javadebug" /> <option name="HOST" value="localhost" /> <option name="PORT" value="5005" /> <method> <option name="AntTarget" enabled="false" /> <option name="Make" enabled="false" /> </method> </configuration> <configuration default="true" type="Applet" factoryName="Applet"> <module name="" /> <option name="MAIN_CLASS_NAME" /> <option name="HTML_FILE_NAME" /> <option name="HTML_USED" value="false" /> <option name="WIDTH" value="400" /> <option name="HEIGHT" value="300" /> <option name="POLICY_FILE" value="/Applications/IntelliJ IDEA 6141.app/bin/appletviewer.policy" /> <option name="VM_PARAMETERS" /> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> <option name="ALTERNATIVE_JRE_PATH" /> <method> <option name="AntTarget" enabled="false" /> <option name="Make" enabled="false" /> </method> </configuration> <configuration default="true" type="JUnit" factoryName="JUnit" enabled="false" merge="false" runner="emma"> <module name="" /> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> <option name="ALTERNATIVE_JRE_PATH" /> <option name="PACKAGE_NAME" /> <option name="MAIN_CLASS_NAME" /> <option name="METHOD_NAME" /> <option name="TEST_OBJECT" value="class" /> <option name="VM_PARAMETERS" /> <option name="PARAMETERS" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> <option name="ENV_VARIABLES" /> <option name="PASS_PARENT_ENVS" value="true" /> <option name="ADDITIONAL_CLASS_PATH" /> <option name="TEST_SEARCH_SCOPE"> <value defaultName="wholeProject" /> </option> <envs /> <method> <option name="AntTarget" enabled="false" /> <option name="Make" enabled="false" /> </method> </configuration> <configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false" runner="emma"> <option name="MAIN_CLASS_NAME" /> <option name="VM_PARAMETERS" /> <option name="PROGRAM_PARAMETERS" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> <option name="ALTERNATIVE_JRE_PATH" /> <option name="ENABLE_SWING_INSPECTOR" value="false" /> <option name="ENV_VARIABLES" /> <option name="PASS_PARENT_ENVS" value="true" /> <module name="" /> <envs /> <method> <option name="AntTarget" enabled="false" /> <option name="Make" enabled="false" /> </method> </configuration> <configuration default="false" name="Generator" type="Application" factoryName="Application" enabled="false" merge="false" sample_coverage="true" runner="emma"> <option name="MAIN_CLASS_NAME" value="gnu.trove.generator.Generator" /> <option name="VM_PARAMETERS" value="" /> <option name="PROGRAM_PARAMETERS" value="/Users/reden/Dropbox/Documents/Trove/version3/templates /Users/reden/Documents/Trove/gen_output" /> <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" /> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> <option name="ALTERNATIVE_JRE_PATH" value="" /> <option name="ENABLE_SWING_INSPECTOR" value="false" /> <option name="ENV_VARIABLES" /> <option name="PASS_PARENT_ENVS" value="true" /> <module name="Trove Generator" /> <envs /> <RunnerSettings RunnerId="Run" /> <ConfigurationWrapper RunnerId="Run" /> <method> <option name="AntTarget" enabled="false" /> <option name="Make" enabled="true" /> </method> </configuration> <list size="1"> <item index="0" class="java.lang.String" itemvalue="Application.Generator" /> </list> </component> <component name="ShelveChangesManager" show_recycled="false" /> <component name="StructureViewFactory"> <option name="ACTIVE_ACTIONS" value="ALPHA_COMPARATOR,SHOW_FIELDS,SHOW_INHERITED" /> </component> <component name="SvnConfiguration"> <option name="USER" value="" /> <option name="PASSWORD" value="" /> <option name="LAST_MERGED_REVISION" /> <option name="UPDATE_RUN_STATUS" value="false" /> <option name="MERGE_DRY_RUN" value="false" /> <option name="MERGE_DIFF_USE_ANCESTRY" value="true" /> <option name="UPDATE_LOCK_ON_DEMAND" value="false" /> <option name="IGNORE_SPACES_IN_MERGE" value="false" /> <option name="DETECT_NESTED_COPIES" value="false" /> <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" /> <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" /> <configuration useDefault="true">/Users/reden/.subversion</configuration> <myIsUseDefaultProxy>false</myIsUseDefaultProxy> <supportedVersion>125</supportedVersion> </component> <component name="TaskManager"> <option name="tasks"> <list> <task id="Default" summary="Default task"> <option name="active" value="true" /> <option name="updated" value="1248964695035" /> </task> </list> </option> </component> <component name="TodoView" selected-index="0"> <todo-panel id="selected-file"> <are-packages-shown value="false" /> <are-modules-shown value="false" /> <flatten-packages value="false" /> <is-autoscroll-to-source value="true" /> </todo-panel> <todo-panel id="all"> <are-packages-shown value="true" /> <are-modules-shown value="false" /> <flatten-packages value="false" /> <is-autoscroll-to-source value="true" /> </todo-panel> <todo-panel id="default-changelist"> <are-packages-shown value="false" /> <are-modules-shown value="false" /> <flatten-packages value="false" /> <is-autoscroll-to-source value="false" /> </todo-panel> </component> <component name="ToolWindowManager"> <frame x="232" y="22" width="1589" height="987" extended-state="0" /> <editor active="true" /> <layout> <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" /> <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" /> <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32867134" sideWeight="0.5" order="6" side_tool="false" /> <window_info id="TODO" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32944983" sideWeight="0.4965787" order="5" side_tool="false" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24401295" sideWeight="0.66433567" order="0" side_tool="false" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="8" side_tool="false" /> <window_info id="Structure" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.23495145" sideWeight="0.66433567" order="4" side_tool="true" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" /> <window_info id="Dataflow to this" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" /> <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" /> <window_info id="IDEtalk" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.16901408" sideWeight="0.5" order="3" side_tool="false" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" /> <window_info id="JProfiler" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3287827" sideWeight="0.5" order="12" side_tool="false" /> <window_info id="Duplicates" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" /> <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" /> <window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" /> <window_info id="CVS" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" /> <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" /> <window_info id="TeamCity Log" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32951945" sideWeight="0.5" order="10" side_tool="false" /> <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="5" side_tool="false" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="10" side_tool="false" /> <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="7" side_tool="false" /> <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32967034" sideWeight="0.5" order="2" side_tool="false" /> <window_info id="Profile" active="false" anchor="bottom" auto_hide="false"... [truncated message content] |
From: Rob E. <ro...@us...> - 2009-08-14 21:21:10
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/iterator In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv31966/trove/src/gnu/trove/iterator Added Files: Tag: TROVE_3_WORKING TAdvancingIterator.java TIterator.java Log Message: Trove 3 initial work --- NEW FILE: TAdvancingIterator.java --- // //////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, Rob Eden All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. // //////////////////////////////////////////////////////////////////////////// package gnu.trove.iterator; /** * Common interface for iterators that operate via the "advance" method for moving the * cursor to the next element. */ public interface TAdvancingIterator extends TIterator { /** * Moves the iterator forward to the next entry. * * @throws java.util.NoSuchElementException if the iterator is already exhausted */ public void advance(); } --- NEW FILE: TIterator.java --- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2009, Rob Eden All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. // // This library 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 Lesser 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. /////////////////////////////////////////////////////////////////////////////// package gnu.trove.iterator; /** * Common interface for all iterators used in Trove. */ public interface TIterator { /** * Returns true if the iterator can be advanced past its current location. * * @return a <code>boolean</code> value */ public boolean hasNext(); /** * Removes the last entry returned by the iterator. The result of invoking this method * more than once for a single entry is undefined and can leave the underlying data * structure in a confused state. */ public void remove(); } |