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...> - 2010-02-22 01:14:46
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/decorator In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv20017/trove/templates/gnu/trove/decorator Modified Files: Tag: TROVE_3_WORKING _E_SetDecorator.template Log Message: Fix for bug 2955938 - TIntSetDecorator does not overrides contains() Index: _E_SetDecorator.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/decorator/Attic/_E_SetDecorator.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_SetDecorator.template 18 Sep 2009 06:07:23 -0000 1.1.2.1 --- _E_SetDecorator.template 22 Feb 2010 01:14:35 -0000 1.1.2.2 *************** *** 196,199 **** --- 196,209 ---- + /** + * {@inheritDoc} + */ + @Override + public boolean contains( Object o ) { + if ( ! ( o instanceof #ET# ) ) return false; + return _set.contains( ( ( #ET# ) o ).#e#Value() ); + } + + // Implements Externalizable public void readExternal( ObjectInput in ) |
From: Rob E. <ro...@us...> - 2010-01-28 22:33:41
|
Update of /cvsroot/trove4j/trove/idea In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15643/idea Added Files: Tag: TROVE_3_WORKING .cvsignore Generator.iml Trove.ipr Core.iml Log Message: Redo IDEA project files, include new README explaining how to use them. Include generator_src, generator_test and template directories in release file. --- NEW FILE: .cvsignore --- Trove.iws --- NEW FILE: Generator.iml --- <?xml version="1.0" encoding="UTF-8"?> <module type="JAVA_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$TROVE_VCS_ROOT$/generator_src"> <sourceFolder url="file://$TROVE_VCS_ROOT$/generator_src" isTestSource="false" /> </content> <content url="file://$TROVE_VCS_ROOT$/generator_test"> <sourceFolder url="file://$TROVE_VCS_ROOT$/generator_test" isTestSource="true" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="library" exported="" name="JUnit" level="project" /> </component> </module> --- NEW FILE: Trove.ipr --- <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="AntConfiguration"> <defaultAnt bundledAnt="true" /> <buildFile url="file://$TROVE_VCS_ROOT$/build.xml"> <additionalClassPath /> <antReference projectDefault="true" /> <customJdkName value="" /> <maximumHeapSize value="128" /> <maximumStackSize value="2" /> <properties /> </buildFile> </component> <component name="CompilerConfiguration"> <option name="DEFAULT_COMPILER" value="Javac" /> <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" /> <entry name="?*.ftl" /> </wildcardResourcePatterns> <annotationProcessing enabled="false" useClasspath="true" /> </component> <component name="DependencyValidationManager"> <option name="SKIP_IMPORT_STATEMENTS" value="false" /> </component> <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" /> <component name="FacetAutodetectingManager"> <autodetection-disabled> <facet-type id="jsf" /> <facet-type id="Spring" /> <facet-type id="javaeeApplication" /> <facet-type id="web" /> <facet-type id="jpa" /> <facet-type id="ejb" /> <facet-type id="hibernate" /> </autodetection-disabled> </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="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="ProjectDetails"> <option name="projectName" value="Trove" /> </component> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/Core.iml" filepath="$PROJECT_DIR$/Core.iml" /> <module fileurl="file://$PROJECT_DIR$/Generator.iml" filepath="$PROJECT_DIR$/Generator.iml" /> </modules> </component> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="$TROVE_JDK_NAME$" project-jdk-type="JavaSDK"> <output url="file://$TROVE_TOP_LEVEL$/idea_classes" /> </component> <component name="ProjectRunConfigurationManager"> <configuration default="false" name="Generator" type="Application" factoryName="Application"> <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea"> <pattern> <option name="PATTERN" value="gnu.trove.generator.*" /> <option name="ENABLED" value="true" /> </pattern> </extension> <extension name="snapshooter" /> <option name="MAIN_CLASS_NAME" value="gnu.trove.generator.Generator" /> <option name="VM_PARAMETERS" value="" /> <option name="PROGRAM_PARAMETERS" value="templates ../gen_output" /> <option name="WORKING_DIRECTORY" value="file://$TROVE_VCS_ROOT$" /> <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="Generator" /> <envs /> <RunnerSettings RunnerId="Run" /> <ConfigurationWrapper RunnerId="Run" /> <method /> </configuration> </component> <component name="SvnBranchConfigurationManager"> <option name="mySupportsUserInfoFilter" value="true" /> </component> <component name="VcsDirectoryMappings"> <mapping directory="" vcs="" /> <mapping directory="$TROVE_VCS_ROOT$" vcs="CVS" /> </component> <component name="WebServicesPlugin" addRequiredLibraries="true" /> <component name="libraryTable"> <library name="JUnit"> <CLASSES> <root url="jar://$TROVE_VCS_ROOT$/lib/junit.jar!/" /> </CLASSES> <JAVADOC /> <SOURCES /> </library> </component> </project> --- NEW FILE: Core.iml --- <?xml version="1.0" encoding="UTF-8"?> <module type="JAVA_MODULE" version="4"> <component name="NewModuleRootManager" inherit-compiler-output="true"> <exclude-output /> <content url="file://$TROVE_TOP_LEVEL$/gen_output"> <sourceFolder url="file://$TROVE_TOP_LEVEL$/gen_output" isTestSource="false" /> </content> <content url="file://$TROVE_VCS_ROOT$"> <sourceFolder url="file://$TROVE_VCS_ROOT$/src" isTestSource="false" /> <sourceFolder url="file://$TROVE_VCS_ROOT$/test" isTestSource="true" /> <excludeFolder url="file://$TROVE_VCS_ROOT$/generator_src" /> <excludeFolder url="file://$TROVE_VCS_ROOT$/generator_test" /> <excludeFolder url="file://$TROVE_VCS_ROOT$/output" /> <excludeFolder url="file://$TROVE_VCS_ROOT$/test/gnu/trove/benchmark/colt" /> <excludeFolder url="file://$TROVE_VCS_ROOT$/test/gnu/trove/benchmark/trove2" /> </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="module" module-name="Generator" /> </component> </module> |
From: Rob E. <ro...@us...> - 2010-01-28 22:33:41
|
Update of /cvsroot/trove4j/trove In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15643 Modified Files: Tag: TROVE_3_WORKING build.xml Added Files: Tag: TROVE_3_WORKING AUTHORS.txt README-idea-devel.txt CHANGES.txt Removed Files: Tag: TROVE_3_WORKING AUTHORS ChangeLog Log Message: Redo IDEA project files, include new README explaining how to use them. Include generator_src, generator_test and template directories in release file. --- NEW FILE: AUTHORS.txt --- Rob Eden <ro...@us...> Eric D. Friedman <er...@us...> Jeff Randall <ra...@up...> Please do NOT email bug reports or feature requests. 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. --- NEW FILE: README-idea-devel.txt --- If you are developing using IntelliJ IDEA from JetBrains, you can use the project file contained in the "idea" directory. When you do so, you will need to define three "Path Variables" (IDEA will prompt you to do this when you open the project): - TROVE_TOP_LEVEL - Top level directory containing Trove files. Note that this directory should *NOT* contain the CVS files, but should contain the directory that does. Example: C:/Users/reden/Documents/Trove - TROVE_VCS_ROOT - Directory within TROVE_TOP_LEVEL that contains the CVS files. This should be an absoulte path. Example: C:/Users/reden/Documents/Trove/working - TROVE_JDK_NAME - Name of the JDK for Trove to use. Example: 1.6.0_17 --- NEW FILE: CHANGES.txt --- --- 2.1.0 --- No substantial changes. --- 2.1.0 a3 --- Bugs fixed: - [ 2685774 ] THashMap serialization bug in 2.0.4 --- 2.1.0 a2 --- Bugs fixed: - [ 2166456 ] clone() for TObject<XXX>HashMap is inefficient - [ 2166768 ] add toString() method to maps. Thanks to Ozgur Aydinli. - [ 2688770 ] TxxxArrayList serializes full capacity instead of full size - [ 2687519 ] Primitive Lists hashCode is calculated w/o regard for order - Fixed issues related to removing items multiple times from TLinkedList and using removeFirst/Last when no items are in the list. New Features - [ 2126522 ] add putAll() to the HashMaps. Thanks to Ozgur Aydinli. --- 2.1.0 a1 --- Bugs fixed: - [ 2143564 ] THashSet serialization - [ 1960418 ] Decorators serialization - [ 2127841 ] Use <Type>.valueOf on wrap/unwrap in T#K##V#HashMapDecorator New Features: - Added "Dectorators" class for easier creation of decorator classes. - [ 2152149 ] Improve performance by avoiding Math/StrictMath (thanks to Mark Beevers) --- 2.0.5 a1 --- Bugs fixed: - [ 2037709 ] bug in .keys(<T>[]) method New Features: - added keys(e[]) method to P2O maps (TIntObjectHashMap, etc.) --- 2.0.4 --- Bugs fixed: - [ 1959853 ] @return for put and putIfAbsent is incorrect --- 2.0.4 rc1 --- Bugs Fixed: - [ 1952509 ] Replace StringBuffer with StringBuilder - [ 1952508 ] pufIfAbsent for maps - [ 1955103 ] Hashing Strategy Not Retained After Serialization --- 2.0.4 a2 --- Bugs fixed: - Correct an error in TLinkedList that caused nodes to not be properly linked when using addAfter(T,T). --- 2.0.4 a1 --- Bugs fixed: - [ 1946240 ] THash.ensureCapacity(...) bug --- 2.0.3 --- Bugs Fixed: - [ 1932929 ] add toString() methods to THashSet and THashMap - Switched to Arrays.fill (which seems to be slightly faster) for clearing --- 2.0.2 --- Bugs Fixed: - [ 1821911 ] get(0) doesn't throw exception when TLinkedList is empty - [ 1800288 ] Trivial typo fixes --- 2.0.1 --- Bugs Fixed: - Fixed implementation of PArrayList.min() and .max(). --- 2.0.1 rc1 --- New Features: [ 1778999 ] Publish a source-JAR with future releases Misc: - Switched version from 2.1 to 2.0.1. --- 2.0.1 ALPHA 3 (previously: 2.1 ALPHA 3) --- Bugs Fixed: [ 1764177 ] bug in binary search --- 2.0.1 ALPHA 2 (previously: 2.1 ALPHA 2) --- New Features: [ 1748566 ] add <T> T[] getValues(T[] a) Bugs Fixed: - Corrected hashcode computation for longs. Should result in better lookup performance. --- 2.0.1 ALPHA 1 (previously: 2.1 ALPHA 1) --- New Features: [ 1741864 ] add TLinkedList addAfter method Bugs Fixed: [ 1738760 ] T*HashMap.retainEntries should suspend automatic compaction. - Corrected hashcode computation for longs. Should result in better lookup performance. Misc: - Added an assertion in HashFunctions to throw an assertion if a value of NaN is used in a lookup/insert/delete from a map. - Added TLinkedList.getNext() and getPrevious() methods. --- 2.0 --- Unchanged from 2.0rc1 --- 2.0rc1 --- New Features: [ 1606090 ] adjustOrPutValue [ 1604073 ] Generate primitive stacks [ 1632250 ] Do maps implement Iterable [ 1670933 ] Provide access to stack native arrays [ 1690743 ] Add subList(begin, end) to ArrayLists Added forEach(TObjectProcedure) method to TLinkedList Bugs Fixed: [ 1640353 ] Generator fails on multiple file systems [ 1676866 ] Not handling REMOVED flag correctly in TObjectHash.index(T) [ 1642768 ] Exception removing from iterator when auto-compact occurs --- 2.0a2 --- New Features: [ 779039 ] expose decorator's set/map Bugs Fixed: [ 1428614 ] THashMap.values().remove() can remove multiple mappings [ 1506751 ] TxxxArrayList.toNativeArray(offset, len) is broken [ 1606095 ] Critical Iterator Error --- 2.0a1 --- This release adds support for generics, which were introduced in JSE 1.5. Starting with this release, JSE 1.5 or greater is required in order to run Trove. Special thanks to JetBrains for their initial work providing generics support. Also added in this release is automatic compaction, such that manually calling compact() is no longer necessary (although it may still provide performance benefits in certain situations). Compactions are by default performed automatically when a certain number of removes are performed based on the size of the set or map. The compaction factor can be specified via THash.setAutoCompactionFactor(float) (the default compaction factor is set to match the load factor). So, for example, if a map is created with an initial capacity of 10 and a load factory of 0.5, a compaction will be performed after 5 removes. If a size is later grown to 1000, then a compaction will occur after 500 removes. When a set/map is rehashed, the time to next compaction is reset. NOTE: auto-compaction can be disabled by setting the autoCompactionFactory (via THash.setAutoCompactionFactor) to zero. Manually compacting a collection will also reset the auto-compaction counter, so that manually compacting more often than auto-compaction wants to occur effectively also disables auto-compaction. NOTE: while manually calling compact() is no longer strictly necessary, results should always be verified in your application to ensure that the auto-compaction scheme and the compaction factors work well for your individual scenario. Support for more primitve types has been introduced. Object serialization has been changed to use Externalization. Unfortunately this means that objects serialized with earlier versions cannot be read by this release. The up-side is that this gives enough flexibility to ensure that we won't need to break serialization again. The other benefit is that the output is more efficient/compact and readable... especially when used with XML serialization mechanisms such as XStream. New Features: [ 918059 ] should rehash when below low water mark upon remove [ 1153656 ] generics? Bugs Fixed: [ 1518795 ] NullPointerException in TLinkedList's removeFirst()/Last() [ 1277703 ] make T**HashMap serializable [ 1417563 ] TLinkedList.add(int,Object) bug [ 1518823 ] another TLinkedList.add(int,Object) bug [ 1461458 ] THashMap.equals(..) method is not consistent [ 1571435 ] Error in cloning of TObjectXXXHashMap instances --- 1.1b5 --- Bugs fixed: [ 1391359 ] Duplicate iteration in THashSet.toArray(Object[]) removed the duplication [ 1382196 ] THashMap.entrySet().retainAll() implemented missing methods on elements of entrySet, refactored retainAll to use retainEntries, which saves a bunch of allocations [ 1378868 ] CVS has junit.jar checked in as ASCII flipped on '-kb' for this file [ 1193416 ] TByteArrayList throws ArrayIndexOutOfBoundsException wrongly fixed off by one error --- 1.1b4 --- Accepted patch for feature request 926921 - adds support for short, byte collections. Also adds support for null object keys. THIS WILL BREAK SERIALIZATION. A big thanks to Steven Lunt for putting this patch together. Added testSerializablePrimitives unit test to validate that behavior reported in 1113420 does work as it's supposed to. Fixed doc problem reported in 939016 Fixed 995597, missing serial version IDs. NOTE: THashMap, THashSet and TLinkedList have IDs generated by serialver and are believed to be b/w compatible. The generated collections, however, are NOT reverse compatible versions and so will break archived collections created with earlier versions of trove. Fixed 937977 -- primitive array lists were not doing a true deep clone of the underlying array. This is fixed --- 1.1b3 --- Fixed 918045 -- bug in *Decorator classes made it impossible to subclass the decorators and make those subclasses cloneable. Thanks to Steve Lunt for the bug report. --- 1.1b2 --- Fixed 901135 -- bug in T*Hash.insertionIndex() methods that prevented us from reclaiming the very first REMOVED slot if that's what the first hash landed upon. In applications that do lots of adds/removes, this would have led to unnecessary rehashing. With this fix, you can add(1), remove(1), and then re add(1) and the same slot will be used. Thanks to matlun for reporting the problem. --- 1.1b1 --- fixed a bug in decorator equals methods (845890) fixed a memory leak for certain usage patterns (843772) corrected some javadoc defects (846286) minor tuning of T*ArrayList toString() added clone() methods to decorator classes. Thanks to Steve Lunt for the bug report. implemented equals()/hashCode() on THashMap.KeyView and (by extension) subclasses. This allows the test in THashMapTests.testKeySetEqualsEquivalentSet to pass. fix 787515 -- bug in T*ArrayList.set(int, *[], int, int) --- 1.0.2 --- revamped versioning scheme added hashCode implementation to collections so that they can appear in collections too. added check+exception to detect violations of the equals() <-> hashCode() contract specified in java.lang.Object's api. --- 0.1.8 --- Added gnu.trove.decorator package, with Decorator classes that wrap trove's primitive maps and sets for conformance with the java.util.{Map,Set} APIs. --- 0.1.7 --- Added iterators to the primitive maps and sets. Note that semantics differ from those of java.util.Iterator, so RTFM. Added hashing strategy interfaces to allow users to implement custom hashing schemes for optimal distribution for specific data sets. Fixed bug 602376 -- ClassCastException n THashMap.putAll Made all collections implement Cloneable. primitive collections clone deeply; Object collections produce shallow clones. --- 0.1.6 --- Minor bug fix release. Two bugs in TIntArrayList have been fixed. Thanks to Jessica P. Hekman for reporting them. One of these prevented toNativeArray from working correctly in certain circumstances; the other problem was with the depth of cloning operations. One enhancement to TintArrayList has been made -- serialized instances are now compact -- previous versions relied on serialization behavior of the backing array, which included empty slots and so wasted space. Serialization of sets/maps has been modified as follows: previously all of the writeObject methods used a local implementation of the TXXXProcedure for writing out the data in a particular collection. These have been replaced by a single class (SerializationProcedure) which implements all of the appropriate interfaces. This reduces the number of .class files in the trove jar --- 0.1.5 --- added retainEntries methods to all Map classes. These methods accept procedure objects of the appropriate sort and use the return value of those procedures to determine whether or not a particular entry in the map should be retained. This is useful for applying a cutoff in a map without copying data: TIntIntHashMap map = new TIntIntHashMap(); // load up map map.retainEntries(new TIntIntProcedure() { public boolean execute(int key, int val) { return val > 3; // retain only those mappings with val > 3 } }); It can also be used if you want to reduce one map to the intersection between it and another map: THashMap map1 = new THashMap(); THashMap map2 = new THashMap(); // load up both maps map1.retainEntries(new TObjectObjectProcedure() { public boolean execute(Object key, Object val) { return map2.containsKey(key); // retain the intersection with map2 } }); --- 0.1.4 --- added increment() and adjustValue() methods to maps with primitive values. These are useful in the all-too-common case where you need a map for the purposes of counting the number of times a key is seen. These methods are handy because you don't have to do a "containsKey" test prior to every increment() call. Instead, you can check the return status (true if an existing mapping was modified) and if it is false, then insert the mapping with the initial value: TIntIntHashMap map = TIntIntHashMap(); int key, val; key = keyFromSomeWhere(); val = valFromSomeWhere(); if (! map.increment(key)) map.put(key, 0); increment is implemented in terms of adjustValue, which allows you to specify the amount by which the primitive value associated with a particular key should be adjusted. Thanks to Jason Baldridge for the idea. --- 0.1.3 --- bug fix in TLinkedList ListIterator implementation: fixed remove() behavior so that it correctly removes the last element returned by either next() or previous(). Added several tests to suite to verify that list iterator does what it's supposed to do in accordance with the collections API docs. --- 0.1.2 --- bug fix in primitive hash sets: toArray now produces a correct return value of size set.size(). Previously it generated an ArrayIndexOutOfBoundsException. Thanks to Tobias Henle for finding this. revised class hierarchy so that all primitive hashing collections are derived from TPrimitiveHash, which extends THash. Object hashing collections are derived from TObjectHash. As part of this change, the byte[] flags were pushed down to TPrimitiveHash, and TObjectHash was revised so that it no longer needs a byte[] array to track the state of the table. This has an appreciable impact on the total size of Object hashing collections: a set of 1,000 Integers used to take 69% of the memory needed for a JDK set; it now takes only 62%. removed slots can now be re-used in all hashing collections. If the search for an insertion index does not find that the key is already present in the map, insertionIndex implementations will now return the index of the first REMOVED or FREE slot. This means that tables which undergo a pattern of insertions/deletions without radical changes in size will not trigger as many rehashes as before. revised hashing algorithm so that the second hash function is only executed when necessary and so that FREE or FULL w/identical content slots can be found with a minimum of effort. --- 0.1.1 --- made the initial capacity of lists used for return values in grep/inverseGrep be the default capacity rather than the size of the list-being-grepped. This saves space when a small list is grepped from a larger list. added reset and resetQuick methods to *ArrayList implementations so that lists can be cleared while retaining their current capacity. changed *ArrayList toNativeArray() method behavior so that a List of 0 length can return a native array of 0 length (previously this would have thrown an exception) revamped *ArrayList insert/remove implementations so that edits are done in place instead of with a temporary array. minor performance tweak in THashIterator --- 0.1.0 --- Added primitive ArrayList implementations. --- 0.0.9 --- Made all collections implement java.io.Serializable Made all collections implement equals() so that they compare their contents instead of doing collection object identity. Made TLinkable extend java.io.Serializable Changed secondary hash function to reflect Knuth's observation about the desirability of using an odd value. Added trimToSize() and ensureCapacity() methods (finally) implemented loadFactor, with default of 0.5, per Knuth. Note that load/capacity/size are handled differently than in the Javasoft implementations. Specifically, if you ask for a collection of capacity X, Trove will give you one that can hold X elements without rehashing; Javasoft's implementation does not do this. --- 0.0.8 --- Fixes for several user-reported bugs. Unit tests have been added to demonstrate that each of these is actually fixed. 485440 Null in keys() from TObjectDoubleHashMap size/free were being updated even when a map.put() was really a replaement for an existing mapping. 485829 null values not handled correctly 485831 null values cause exceptions 485834 null values cause NullPointerException made Maps that hold Object values behave correctly (no NPE) when doing comparisons with null objects, since null values are legal. 485837 entrySet comparison semantics are wrong made entrySet check both key and value when doing comparisons. --- 0.0.7 --- new package: gnu.trove.benchmark replaced gnu.trove.Benchmark with benchmark package. This now produces formatted reports that include OS/JVM specs. Changed benchmarking approach so that timestamps are only taken at the beginning/end of the full repetition count for an operation. This reduces the variability caused by calling System.currentTimeMillis() more than once in the same second. Added memory profiler which produces a report with the memory requirements for trove/javasoft collections of the same objects. build.xml modified jar task so that the benchmark package is not included in the jar file or the javadoc set. Only the framework classes get jarred up; developers can run the benchmarks by using the output/classes directory instead. TObjectHash Based on profiling results, replaced calls to HashFunctions.hash(obj) with direct invocation of obj.hashCode() to save a method call. This is probably inlined by hotspot compilers, but my profiler doesn't work with those. TObjectHash.HashIterator Based on bytecode examination, replaced a putfield/getfield combo with a putfield/dup_x. This saves three opcodes in a method which gets called a lot (moveToNextIndex()). PrimeFinder/HashFunctions finalized both classes and all methods. Index: build.xml =================================================================== RCS file: /cvsroot/trove4j/trove/build.xml,v retrieving revision 1.61.2.13 retrieving revision 1.61.2.14 diff -C2 -d -r1.61.2.13 -r1.61.2.14 *** build.xml 17 Nov 2009 05:25:50 -0000 1.61.2.13 --- build.xml 28 Jan 2010 22:33:32 -0000 1.61.2.14 *************** *** 1,5 **** <!-- ~ /////////////////////////////////////////////////////////////////////////////// ! ~ // Copyright (c) 2009, Rob Eden All Rights Reserved. ~ // ~ // This library is free software; you can redistribute it and/or --- 1,5 ---- <!-- ~ /////////////////////////////////////////////////////////////////////////////// ! ~ // Copyright (c) 2009-2010, Rob Eden All Rights Reserved. ~ // ~ // This library is free software; you can redistribute it and/or *************** *** 24,29 **** <property name="Name" value="Trove"/> <property name="name" value="trove"/> ! <property name="version" value="3.0.0a2"/> ! <property name="year" value="2001-2009"/> <property name="debug" value="on"/> --- 24,29 ---- <property name="Name" value="Trove"/> <property name="name" value="trove"/> ! <property name="version" value="3.0.0a3"/> ! <property name="year" value="2001-2010"/> <property name="debug" value="on"/> *************** *** 48,51 **** --- 48,52 ---- <property name="src" value="src"/> <property name="generator_src" value="generator_src"/> + <property name="generator_test" value="generator_test"/> <property name="test_src" value="test"/> <property name="lib" value="lib"/> *************** *** 170,173 **** --- 171,184 ---- <fileset dir="${test_src}"/> </copy> + <copy todir="${dist.dir}/templates"> + <fileset dir="${templates}"/> + </copy> + <copy todir="${dist.dir}/generator_src"> + <fileset dir="${generator_src}"/> + </copy> + <copy todir="${dist.dir}/generator_test"> + <fileset dir="${generator_test}"/> + </copy> + <!-- Copy javadocs & libs --> *************** *** 178,186 **** <!-- Misc. Files --> ! <copy todir="${dist.dir}" file="AUTHORS"/> ! <copy todir="${dist.dir}" file="ChangeLog"/> ! <copy todir="${dist.dir}" file="LICENSE.txt"/> ! <copy todir="${dist.dir}" file="README-license.txt"/> ! <copy todir="${dist.dir}" file="README.txt"/> <copy todir="${dist.dir}" file="build.xml"/> </target> --- 189,195 ---- <!-- Misc. Files --> ! <copy todir="${dist.dir}"> ! <fileset dir="${basedir}" includes="*.txt"/> ! </copy> <copy todir="${dist.dir}" file="build.xml"/> </target> --- AUTHORS DELETED --- --- ChangeLog DELETED --- |
From: Rob E. <ro...@us...> - 2010-01-28 21:38:10
|
Update of /cvsroot/trove4j/trove/idea In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv6608/idea Removed Files: Tag: TROVE_3_WORKING Trove3.ipr Trove3.iws Log Message: Redoing IDEA files... --- Trove3.ipr DELETED --- --- Trove3.iws DELETED --- |
From: Rob E. <ro...@us...> - 2010-01-28 21:38:02
|
Update of /cvsroot/trove4j/trove/idea/Trove In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv6608/idea/Trove Removed Files: Tag: TROVE_3_WORKING Trove.iml Log Message: Redoing IDEA files... --- Trove.iml DELETED --- |
From: Rob E. <ro...@us...> - 2010-01-28 21:38:02
|
Update of /cvsroot/trove4j/trove/idea/Trove Generator In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv6608/idea/Trove Generator Removed Files: Tag: TROVE_3_WORKING Trove Generator.iml Log Message: Redoing IDEA files... --- Generator Trove Generator.iml DELETED --- |
From: Rob E. <ro...@us...> - 2009-11-17 05:25:58
|
Update of /cvsroot/trove4j/trove In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23691/trove Modified Files: Tag: TROVE_3_WORKING build.xml Log Message: Increment version to 3.0.0a2 Index: build.xml =================================================================== RCS file: /cvsroot/trove4j/trove/build.xml,v retrieving revision 1.61.2.12 retrieving revision 1.61.2.13 diff -C2 -d -r1.61.2.12 -r1.61.2.13 *** build.xml 16 Nov 2009 21:20:16 -0000 1.61.2.12 --- build.xml 17 Nov 2009 05:25:50 -0000 1.61.2.13 *************** *** 24,28 **** <property name="Name" value="Trove"/> <property name="name" value="trove"/> ! <property name="version" value="3.0.0a1"/> <property name="year" value="2001-2009"/> --- 24,28 ---- <property name="Name" value="Trove"/> <property name="name" value="trove"/> ! <property name="version" value="3.0.0a2"/> <property name="year" value="2001-2009"/> |
From: Rob E. <ro...@us...> - 2009-11-16 21:25:26
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/map/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1538/trove/templates/gnu/trove/map/hash Modified Files: Tag: TROVE_3_WORKING _E_ObjectHashMap.template _K__V_HashMap.template Object_E_HashMap.template Log Message: Check current capacity before doing a full rehash (bug #2898583) Index: _E_ObjectHashMap.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/map/hash/Attic/_E_ObjectHashMap.template,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -C2 -d -r1.1.2.7 -r1.1.2.8 *** _E_ObjectHashMap.template 7 Nov 2009 03:36:44 -0000 1.1.2.7 --- _E_ObjectHashMap.template 16 Nov 2009 21:25:13 -0000 1.1.2.8 *************** *** 150,153 **** --- 150,155 ---- protected void rehash( int newCapacity ) { int oldCapacity = _set.length; + if ( oldCapacity == newCapacity ) return; + #e# oldKeys[] = _set; V oldVals[] = _values; Index: _K__V_HashMap.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/map/hash/Attic/_K__V_HashMap.template,v retrieving revision 1.1.2.12 retrieving revision 1.1.2.13 diff -C2 -d -r1.1.2.12 -r1.1.2.13 *** _K__V_HashMap.template 7 Nov 2009 03:36:44 -0000 1.1.2.12 --- _K__V_HashMap.template 16 Nov 2009 21:25:13 -0000 1.1.2.13 *************** *** 174,177 **** --- 174,179 ---- protected void rehash( int newCapacity ) { int oldCapacity = _set.length; + if ( oldCapacity == newCapacity ) return; + #k# oldKeys[] = _set; #v# oldVals[] = _values; Index: Object_E_HashMap.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/map/hash/Attic/Object_E_HashMap.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 *** Object_E_HashMap.template 7 Nov 2009 03:36:44 -0000 1.1.2.4 --- Object_E_HashMap.template 16 Nov 2009 21:25:13 -0000 1.1.2.5 *************** *** 173,176 **** --- 173,178 ---- protected void rehash( int newCapacity ) { int oldCapacity = _set.length; + if ( oldCapacity == newCapacity ) return; + //noinspection unchecked K oldKeys[] = ( K[] ) _set; |
From: Rob E. <ro...@us...> - 2009-11-16 21:25:25
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/set/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1538/trove/templates/gnu/trove/set/hash Modified Files: Tag: TROVE_3_WORKING _E_HashSet.template Log Message: Check current capacity before doing a full rehash (bug #2898583) Index: _E_HashSet.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/set/hash/Attic/_E_HashSet.template,v retrieving revision 1.1.2.10 retrieving revision 1.1.2.11 diff -C2 -d -r1.1.2.10 -r1.1.2.11 *** _E_HashSet.template 9 Oct 2009 02:46:07 -0000 1.1.2.10 --- _E_HashSet.template 16 Nov 2009 21:25:13 -0000 1.1.2.11 *************** *** 404,407 **** --- 404,409 ---- protected void rehash( int newCapacity ) { int oldCapacity = _set.length; + if ( oldCapacity == newCapacity ) return; + #e# oldSet[] = _set; byte oldStates[] = _states; |
From: Rob E. <ro...@us...> - 2009-11-16 21:25:25
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/map/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1538/trove/src/gnu/trove/map/hash Modified Files: Tag: TROVE_3_WORKING THashMap.java Log Message: Check current capacity before doing a full rehash (bug #2898583) Index: THashMap.java =================================================================== RCS file: /cvsroot/trove4j/trove/src/gnu/trove/map/hash/Attic/THashMap.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 *** THashMap.java 7 Nov 2009 03:36:44 -0000 1.1.2.3 --- THashMap.java 16 Nov 2009 21:25:13 -0000 1.1.2.4 *************** *** 383,386 **** --- 383,388 ---- protected void rehash( int newCapacity ) { int oldCapacity = _set.length; + if ( oldCapacity == newCapacity ) return; + Object oldKeys[] = _set; V oldVals[] = _values; |
From: Rob E. <ro...@us...> - 2009-11-16 21:25:24
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/set/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1538/trove/src/gnu/trove/set/hash Modified Files: Tag: TROVE_3_WORKING THashSet.java Log Message: Check current capacity before doing a full rehash (bug #2898583) Index: THashSet.java =================================================================== RCS file: /cvsroot/trove4j/trove/src/gnu/trove/set/hash/Attic/THashSet.java,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -d -r1.1.2.4 -r1.1.2.5 *** THashSet.java 9 Sep 2009 06:24:06 -0000 1.1.2.4 --- THashSet.java 16 Nov 2009 21:25:13 -0000 1.1.2.5 *************** *** 164,167 **** --- 164,169 ---- protected void rehash( int newCapacity ) { int oldCapacity = _set.length; + if ( oldCapacity == newCapacity ) return; + Object oldSet[] = _set; |
From: Rob E. <ro...@us...> - 2009-11-16 21:23:10
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/impl In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv955/trove/src/gnu/trove/impl Added Files: Tag: TROVE_3_WORKING package.html Log Message: Package doc for impl package. --- NEW FILE: package.html --- <!-- ~ /////////////////////////////////////////////////////////////////////////////// ~ // 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. ~ /////////////////////////////////////////////////////////////////////////////// --> <html> This package (and its sub-packages) contain internal implementations used in Trove. These classes should <strong>not</strong> be accessed directly (treat them like <tt>com.sun</tt> classes. </html> |
From: Rob E. <ro...@us...> - 2009-11-16 21:20:28
|
Update of /cvsroot/trove4j/trove In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv535/trove Modified Files: Tag: TROVE_3_WORKING build.xml Log Message: Run benchmarks when doing a release. Also build a zip file in addition to the tgz. Index: build.xml =================================================================== RCS file: /cvsroot/trove4j/trove/build.xml,v retrieving revision 1.61.2.11 retrieving revision 1.61.2.12 diff -C2 -d -r1.61.2.11 -r1.61.2.12 *** build.xml 17 Oct 2009 21:44:51 -0000 1.61.2.11 --- build.xml 16 Nov 2009 21:20:16 -0000 1.61.2.12 *************** *** 62,65 **** --- 62,66 ---- <antcall target="dist"/> <antcall target="test"/> + <antcall target="benchmark"/> <tar tarfile="${name}-${version}.tar" basedir="${dist.root}"/> *************** *** 67,70 **** --- 68,74 ---- zipfile="${dist.root}/${name}-${version}.tar.gz" /> <delete file="${name}-${version}.tar" /> + + <zip destfile="${dist.root}/${name}-${version}.zip" basedir="${dist.root}" + excludes="**/*.tar, **/*.tar.gz, **/*.tgz"/> </target> *************** *** 243,247 **** description="Run benchmark suite."> ! <java classname="gnu.trove.benchmark.BenchmarkRunner" fork="true"> <classpath> <fileset dir="${lib}"> --- 247,252 ---- description="Run benchmark suite."> ! <java classname="gnu.trove.benchmark.BenchmarkRunner" fork="true" ! output="${output.dir}/benchmarks.txt"> <classpath> <fileset dir="${lib}"> |
From: Rob E. <ro...@us...> - 2009-11-07 03:55:56
|
Update of /cvsroot/trove4j/trove/test/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25070/trove/test/gnu/trove/stack/array Added Files: Tag: TROVE_3_WORKING TStackTest.java Log Message: Move unit tests to correct packages. --- NEW FILE: TStackTest.java --- /////////////////////////////////////////////////////////////////////////////// // 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 // 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; import gnu.trove.list.array.TIntArrayList; import gnu.trove.stack.TIntStack; import junit.framework.TestCase; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; /** * */ public class TStackTest extends TestCase { public TStackTest() { super(); } public TStackTest( String string ) { super( string ); } public void testConstructors() { TIntStack stack = new TIntArrayStack(); assertEquals( 0, stack.size() ); stack.push( 10 ); stack.push( 20 ); assertEquals( 2, stack.size() ); TIntStack other = new TIntArrayStack( 20 ); other.push( 10 ); other.push( 20 ); assertEquals( 2, other.size() ); assertTrue( "stacks should be equal: " + stack + ", " + other, stack.equals( other ) ); TIntStack copy = new TIntArrayStack( stack ); assertTrue( "stacks should be equal: " + stack + ", " + copy, stack.equals( copy ) ); } public void testBasic() { TIntStack stack = new TIntArrayStack(); assertEquals( 0, stack.size() ); stack.push( 10 ); assertEquals( 1, stack.size() ); assertEquals( 10, stack.peek() ); assertEquals( 1, stack.size() ); assertEquals( 10, stack.peek() ); assertEquals( 1, stack.size() ); assertEquals( 10, stack.pop() ); assertEquals( 0, stack.size() ); stack.push( 10 ); stack.push( 20 ); stack.push( 30 ); assertEquals( 3, stack.size() ); assertEquals( 30, stack.pop() ); assertEquals( 20, stack.pop() ); assertEquals( 10, stack.pop() ); } public void testArrays() { int no_entry_value = Integer.MIN_VALUE; TIntStack stack = new TIntArrayStack(10, no_entry_value); assertEquals( no_entry_value, stack.getNoEntryValue() ); int[] array; array = stack.toArray(); assertNotNull( array ); assertEquals( 0, array.length ); stack.push( 10 ); stack.push( 20 ); stack.push( 30 ); stack.push( 40 ); array = stack.toArray(); assertNotNull( array ); assertEquals( 4, array.length ); // NOTE: Top element in stack should be first element in array assertEquals( 40, array[0] ); assertEquals( 30, array[1] ); assertEquals( 20, array[2] ); assertEquals( 10, array[3] ); assertEquals( 4, stack.size() ); int[] array_correct_size = new int[4]; stack.toArray( array_correct_size ); assertEquals( 40, array_correct_size[0] ); assertEquals( 30, array_correct_size[1] ); assertEquals( 20, array_correct_size[2] ); assertEquals( 10, array_correct_size[3] ); int[] array_too_long = new int[6]; stack.toArray( array_too_long ); assertEquals( 40, array_too_long[0] ); assertEquals( 30, array_too_long[1] ); assertEquals( 20, array_too_long[2] ); assertEquals( 10, array_too_long[3] ); assertEquals( stack.getNoEntryValue(), array_too_long[4] ); int[] array_too_short = new int[2]; stack.toArray( array_too_short ); assertEquals( 40, array_too_short[0] ); assertEquals( 30, array_too_short[1] ); } public void testClear() { TIntStack stack = new TIntArrayStack(); assertEquals( 0, stack.size() ); stack.push( 10 ); assertEquals( 1, stack.size() ); assertEquals( 10, stack.pop() ); assertEquals( 0, stack.size() ); stack.push( 10 ); stack.push( 20 ); stack.push( 30 ); assertEquals( 3, stack.size() ); stack.clear(); assertEquals( 0, stack.size() ); } public void testEquals() { TIntStack stack = new TIntArrayStack(); assertEquals( 0, stack.size() ); stack.push( 10 ); stack.push( 20 ); assertEquals( 2, stack.size() ); TIntStack other = new TIntArrayStack( 20 ); other.push( 10 ); other.push( 20 ); assertEquals( 2, other.size() ); assertTrue( "stacks should equal itself: " + stack, stack.equals( stack ) ); assertTrue( "stacks should be equal: " + stack + ", " + other, stack.equals( other ) ); TIntArrayList list = new TIntArrayList( stack.toArray() ); assertFalse( "stack should not equal list: " + stack + ", " + list, stack.equals( list ) ); } public void testHashCode() { TIntStack stack = new TIntArrayStack(); assertEquals( 0, stack.size() ); stack.push( 10 ); stack.push( 20 ); assertEquals( 2, stack.size() ); TIntStack other = new TIntArrayStack( 20 ); other.push( 10 ); other.push( 20 ); assertEquals( 2, other.size() ); assertTrue( "stack hashcode should equal itself: " + stack, stack.hashCode() == stack.hashCode() ); assertTrue( "stacks should be equal: " + stack + ", " + other, stack.hashCode() == other.hashCode() ); other.push( 30 ); assertFalse( "stack should not equal list: " + stack + ", " + other, stack.hashCode() == other.hashCode() ); } public void testSerialize() throws Exception { TIntStack stack = new TIntArrayStack(); stack.push( 10 ); stack.push( 20 ); stack.push( 30 ); stack.push( 40 ); stack.push( 50 ); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream( baos ); oos.writeObject( stack ); ByteArrayInputStream bais = new ByteArrayInputStream( baos.toByteArray() ); ObjectInputStream ois = new ObjectInputStream( bais ); TIntStack serialized = (TIntStack) ois.readObject(); assertEquals( stack, serialized ); } } |
Update of /cvsroot/trove4j/trove/test/gnu/trove In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25070/trove/test/gnu/trove Added Files: Tag: TROVE_3_WORKING TDecoratorsTest.java Removed Files: Tag: TROVE_3_WORKING TArrayListTest.java TStackTest.java TDecoratorTest.java PrimeFinderTest.java Log Message: Move unit tests to correct packages. --- NEW FILE: TDecoratorsTest.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; import gnu.trove.list.TIntList; import gnu.trove.list.array.TIntArrayList; import junit.framework.TestCase; import java.util.Iterator; import java.util.List; /** * */ public class TDecoratorsTest extends TestCase { public void testIntListDecorator() { TIntList list = new TIntArrayList(); list.add( 2 ); list.add( 3 ); list.add( 4 ); list.add( 5 ); list.add( 6 ); List<Integer> wrapped_list = TDecorators.wrap( list ); assertEquals( 5, wrapped_list.size() ); assertEquals( Integer.valueOf( 2 ), wrapped_list.get( 0 ) ); assertEquals( Integer.valueOf( 3 ), wrapped_list.get( 1 ) ); assertEquals( Integer.valueOf( 4 ), wrapped_list.get( 2 ) ); assertEquals( Integer.valueOf( 5 ), wrapped_list.get( 3 ) ); assertEquals( Integer.valueOf( 6 ), wrapped_list.get( 4 ) ); list.removeAt( 1 ); assertEquals( 4, list.size() ); assertEquals( Integer.valueOf( 2 ), wrapped_list.get( 0 ) ); assertEquals( Integer.valueOf( 4 ), wrapped_list.get( 1 ) ); assertEquals( Integer.valueOf( 5 ), wrapped_list.get( 2 ) ); assertEquals( Integer.valueOf( 6 ), wrapped_list.get( 3 ) ); wrapped_list.remove( 1 ); assertEquals( 3, list.size() ); assertEquals( 2, list.get( 0 ) ); assertEquals( 5, list.get( 1 ) ); assertEquals( 6, list.get( 2 ) ); list.clear(); assertTrue( wrapped_list.isEmpty() ); wrapped_list.add( Integer.valueOf( 7 ) ); assertEquals( 1, list.size() ); assertEquals( 7, list.get( 0 ) ); wrapped_list.clear(); assertTrue( list.isEmpty() ); list.add( 8 ); list.add( 9 ); list.add( 10 ); Iterator<Integer> wrapper_list_it = wrapped_list.iterator(); assertTrue( wrapper_list_it.hasNext() ); assertEquals( Integer.valueOf( 8 ), wrapper_list_it.next() ); assertTrue( wrapper_list_it.hasNext() ); assertEquals( Integer.valueOf( 9 ), wrapper_list_it.next() ); assertTrue( wrapper_list_it.hasNext() ); assertEquals( Integer.valueOf( 10 ), wrapper_list_it.next() ); assertFalse( wrapper_list_it.hasNext() ); wrapper_list_it = wrapped_list.iterator(); assertTrue( wrapper_list_it.hasNext() ); assertEquals( Integer.valueOf( 8 ), wrapper_list_it.next() ); wrapper_list_it.remove(); assertTrue( wrapper_list_it.hasNext() ); assertEquals( Integer.valueOf( 9 ), wrapper_list_it.next() ); assertTrue( wrapper_list_it.hasNext() ); assertEquals( Integer.valueOf( 10 ), wrapper_list_it.next() ); assertFalse( wrapper_list_it.hasNext() ); assertEquals( 2, list.size() ); assertEquals( 9, list.get( 0 ) ); assertEquals( 10, list.get( 1 ) ); } public void testIntListDecoratorSubList() { TIntList list = new TIntArrayList(); list.add( 2 ); list.add( 3 ); list.add( 4 ); list.add( 5 ); list.add( 6 ); List<Integer> wrapped_list = TDecorators.wrap( list ); List<Integer> sublist = wrapped_list.subList( 1, 4 ); assertEquals( 3, sublist.size() ); assertEquals( Integer.valueOf( 3 ), sublist.get( 0 ) ); assertEquals( Integer.valueOf( 4 ), sublist.get( 1 ) ); assertEquals( Integer.valueOf( 5 ), sublist.get( 2 ) ); sublist.clear(); assertEquals( 2, list.size() ); assertEquals( 2, list.get( 0 ) ); assertEquals( 6, list.get( 1 ) ); } } --- TArrayListTest.java DELETED --- --- TStackTest.java DELETED --- --- TDecoratorTest.java DELETED --- --- PrimeFinderTest.java DELETED --- |
From: Rob E. <ro...@us...> - 2009-11-07 03:55:46
|
Update of /cvsroot/trove4j/trove/test/gnu/trove/list/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25070/trove/test/gnu/trove/list/array Added Files: Tag: TROVE_3_WORKING TArrayListTest.java Log Message: Move unit tests to correct packages. --- NEW FILE: TArrayListTest.java --- /////////////////////////////////////////////////////////////////////////////// // 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 // 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.list.array; import gnu.trove.list.TIntList; import gnu.trove.list.array.TIntArrayList; import junit.framework.TestCase; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Arrays; public class TArrayListTest extends TestCase { private TIntList list; public void setUp() throws Exception { super.setUp(); list = new TIntArrayList( 15, Integer.MIN_VALUE ); list.add( 1 ); list.add( 2 ); list.add( 3 ); list.add( 4 ); list.add( 5 ); } public void tearDown() throws Exception { super.tearDown(); } public void testToArray() { assertTrue( Arrays.equals( new int[]{1, 2, 3, 4, 5}, list.toArray() ) ); assertTrue( Arrays.equals( new int[]{1, 2, 3, 4}, list.toArray( 0, 4 ) ) ); assertTrue( Arrays.equals( new int[]{2, 3, 4, 5}, list.toArray( 1, 4 ) ) ); assertTrue( Arrays.equals( new int[]{2, 3, 4}, list.toArray( 1, 3 ) ) ); int[] array_correct_size = new int[5]; list.toArray( array_correct_size ); assertEquals( 1, array_correct_size[0] ); assertEquals( 2, array_correct_size[1] ); assertEquals( 3, array_correct_size[2] ); assertEquals( 4, array_correct_size[3] ); assertEquals( 5, array_correct_size[4] ); assertEquals( array_correct_size.length, list.size() ); int[] array_too_long = new int[8]; list.toArray( array_too_long ); assertEquals( 1, array_too_long[0] ); assertEquals( 2, array_too_long[1] ); assertEquals( 3, array_too_long[2] ); assertEquals( 4, array_too_long[3] ); assertEquals( 5, array_too_long[4] ); assertEquals( list.getNoEntryValue(), array_too_long[5] ); int[] array_too_short = new int[2]; list.toArray( array_too_short ); assertEquals( 1, array_too_short[0] ); assertEquals( 2, array_too_short[1] ); } public void testSubList() throws Exception { TIntList subList = list.subList( 1, 4 ); assertEquals( 3, subList.size() ); assertEquals( 2, subList.get( 0 ) ); assertEquals( 4, subList.get( 2 ) ); } public void testSublist_Exceptions() { try { list.subList( 1, 0 ); fail( "expected IllegalArgumentException when end < begin" ); } catch ( IllegalArgumentException expected ) { } try { list.subList( -1, 3 ); fail( "expected IndexOutOfBoundsException when begin < 0" ); } catch ( IndexOutOfBoundsException expected ) { } try { list.subList( 1, 42 ); fail( "expected IndexOutOfBoundsException when end > length" ); } catch ( IndexOutOfBoundsException expected ) { } } public void testMax() { assertEquals( 5, list.max() ); assertEquals( 1, list.min() ); TIntArrayList list2 = new TIntArrayList(); list2.add( 3 ); list2.add( 1 ); list2.add( 2 ); list2.add( 5 ); list2.add( 4 ); assertEquals( 5, list2.max() ); assertEquals( 1, list2.min() ); } public void testSerialization() throws Exception { ByteArrayOutputStream bout = new ByteArrayOutputStream(); ObjectOutputStream oout = new ObjectOutputStream( bout ); oout.writeObject( list ); oout.close(); ObjectInputStream oin = new ObjectInputStream( new ByteArrayInputStream( bout.toByteArray() ) ); TIntArrayList new_list = (TIntArrayList) oin.readObject(); assertEquals( list, new_list ); } } |
From: Rob E. <ro...@us...> - 2009-11-07 03:55:42
|
Update of /cvsroot/trove4j/trove/test/gnu/trove/impl In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25070/trove/test/gnu/trove/impl Added Files: Tag: TROVE_3_WORKING PrimeFinderTest.java Log Message: Move unit tests to correct packages. --- NEW FILE: PrimeFinderTest.java --- /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001-2006, 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.impl; import junit.framework.*; import gnu.trove.impl.PrimeFinder; /** * * Created: Sun Nov 4 11:37:24 2001 * * @author Eric D. Friedman * @version $Id: PrimeFinderTest.java,v 1.1.2.1 2009/11/07 03:55:33 robeden Exp $ */ public class PrimeFinderTest extends TestCase { public PrimeFinderTest(String name) { super(name); } public void testPrimeFinder() throws Exception { int r = PrimeFinder.nextPrime(999999); assertEquals(1070981,r); } } // PrimeFinderTests |
From: Rob E. <ro...@us...> - 2009-11-07 03:45:44
|
Update of /cvsroot/trove4j/trove/test/gnu/trove/stack In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24071/trove/test/gnu/trove/stack Log Message: Directory /cvsroot/trove4j/trove/test/gnu/trove/stack added to the repository |
From: Rob E. <ro...@us...> - 2009-11-07 03:45:43
|
Update of /cvsroot/trove4j/trove/test/gnu/trove/stack/array In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24088/trove/test/gnu/trove/stack/array Log Message: Directory /cvsroot/trove4j/trove/test/gnu/trove/stack/array added to the repository |
From: Rob E. <ro...@us...> - 2009-11-07 03:37:02
|
Update of /cvsroot/trove4j/trove/test/gnu/trove/map/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22903/trove/test/gnu/trove/map/hash Modified Files: Tag: TROVE_3_WORKING THashMapTest.java Log Message: Clean up some TODO's Index: THashMapTest.java =================================================================== RCS file: /cvsroot/trove4j/trove/test/gnu/trove/map/hash/Attic/THashMapTest.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 *** THashMapTest.java 11 Sep 2009 05:53:37 -0000 1.1.2.3 --- THashMapTest.java 7 Nov 2009 03:36:44 -0000 1.1.2.4 *************** *** 21,24 **** --- 21,28 ---- package gnu.trove.map.hash; + import gnu.trove.function.TObjectFunction; + import gnu.trove.procedure.TObjectObjectProcedure; + import gnu.trove.procedure.TObjectProcedure; + import gnu.trove.set.hash.THashSetTest; import junit.framework.TestCase; *************** *** 29,37 **** import java.util.*; - import gnu.trove.procedure.TObjectObjectProcedure; - import gnu.trove.procedure.TObjectProcedure; - import gnu.trove.function.TObjectFunction; - import gnu.trove.set.hash.THashSetTest; - --- 33,36 ---- *************** *** 1007,1022 **** assertFalse( "equal vs. random object incorrect", ee.equals( new Object() ) ); - // Abuse setValue0 to test illegal modification - try { - iter = ss_map.entrySet().iterator(); - assertTrue( iter.hasNext() ); - THashMap.Entry abused = (THashMap.Entry) iter.next(); - abused.setValue0( "abuse" ); - abused.setValue( "broken!" ); - fail( "Expected ConcurrentModificationException" ); - } - catch ( ConcurrentModificationException ex ) { - // Expected - } } --- 1006,1009 ---- |
From: Rob E. <ro...@us...> - 2009-11-07 03:37:02
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/impl/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22903/trove/src/gnu/trove/impl/hash Modified Files: Tag: TROVE_3_WORKING TObjectHash.java Log Message: Clean up some TODO's Index: TObjectHash.java =================================================================== RCS file: /cvsroot/trove4j/trove/src/gnu/trove/impl/hash/Attic/TObjectHash.java,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** TObjectHash.java 18 Sep 2009 21:50:08 -0000 1.1.2.5 --- TObjectHash.java 7 Nov 2009 03:36:44 -0000 1.1.2.6 *************** *** 91,95 **** ! public void removeAt( int index ) { _set[index] = REMOVED; super.removeAt( index ); --- 91,95 ---- ! protected void removeAt( int index ) { _set[index] = REMOVED; super.removeAt( index ); |
From: Rob E. <ro...@us...> - 2009-11-07 03:36:59
|
Update of /cvsroot/trove4j/trove/src/gnu/trove/map/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22903/trove/src/gnu/trove/map/hash Modified Files: Tag: TROVE_3_WORKING THashMap.java Log Message: Clean up some TODO's Index: THashMap.java =================================================================== RCS file: /cvsroot/trove4j/trove/src/gnu/trove/map/hash/Attic/THashMap.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 *** THashMap.java 9 Sep 2009 06:24:06 -0000 1.1.2.2 --- THashMap.java 7 Nov 2009 03:36:44 -0000 1.1.2.3 *************** *** 789,798 **** - // TODO: remove? - void setValue0( V aValue ) { - this.val = aValue; - } - - public K getKey() { return key; --- 789,792 ---- |
From: Rob E. <ro...@us...> - 2009-11-07 03:36:58
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/impl/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22903/trove/templates/gnu/trove/impl/hash Modified Files: Tag: TROVE_3_WORKING _K__V_Hash.template _E_Hash.template Log Message: Clean up some TODO's Index: _K__V_Hash.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/impl/hash/Attic/_K__V_Hash.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 *** _K__V_Hash.template 9 Oct 2009 02:46:07 -0000 1.1.2.5 --- _K__V_Hash.template 7 Nov 2009 03:36:44 -0000 1.1.2.6 *************** *** 202,206 **** * @param index an <code>int</code> value */ ! public void removeAt( int index ) { _set[index] = no_entry_key; super.removeAt( index ); --- 202,206 ---- * @param index an <code>int</code> value */ ! protected void removeAt( int index ) { _set[index] = no_entry_key; super.removeAt( index ); Index: _E_Hash.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/impl/hash/Attic/_E_Hash.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_Hash.template 9 Oct 2009 02:46:07 -0000 1.1.2.5 --- _E_Hash.template 7 Nov 2009 03:36:44 -0000 1.1.2.6 *************** *** 186,190 **** * @param index an <code>int</code> value */ ! public void removeAt( int index ) { _set[index] = no_entry_value; super.removeAt( index ); --- 186,190 ---- * @param index an <code>int</code> value */ ! protected void removeAt( int index ) { _set[index] = no_entry_value; super.removeAt( index ); |
From: Rob E. <ro...@us...> - 2009-11-07 03:36:57
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/impl/sync In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22903/trove/templates/gnu/trove/impl/sync Modified Files: Tag: TROVE_3_WORKING SynchronizedRandomAccess_E_List.template Log Message: Clean up some TODO's Index: SynchronizedRandomAccess_E_List.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/impl/sync/Attic/SynchronizedRandomAccess_E_List.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 *** SynchronizedRandomAccess_E_List.template 7 Nov 2009 03:12:53 -0000 1.1.2.1 --- SynchronizedRandomAccess_E_List.template 7 Nov 2009 03:36:44 -0000 1.1.2.2 *************** *** 68,72 **** } - // TODO: proper serialVersionUID static final long serialVersionUID = 1530674583602358482L; --- 68,71 ---- |
From: Rob E. <ro...@us...> - 2009-11-07 03:36:54
|
Update of /cvsroot/trove4j/trove/templates/gnu/trove/map/hash In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22903/trove/templates/gnu/trove/map/hash Modified Files: Tag: TROVE_3_WORKING _K__V_HashMap.template _E_ObjectHashMap.template Object_E_HashMap.template Log Message: Clean up some TODO's Index: _K__V_HashMap.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/map/hash/Attic/_K__V_HashMap.template,v retrieving revision 1.1.2.11 retrieving revision 1.1.2.12 diff -C2 -d -r1.1.2.11 -r1.1.2.12 *** _K__V_HashMap.template 9 Oct 2009 02:46:07 -0000 1.1.2.11 --- _K__V_HashMap.template 7 Nov 2009 03:36:44 -0000 1.1.2.12 *************** *** 287,291 **** /** {@inheritDoc} */ ! public void removeAt( int index ) { _values[index] = no_entry_value; super.removeAt( index ); // clear key, state; adjust size --- 287,291 ---- /** {@inheritDoc} */ ! protected void removeAt( int index ) { _values[index] = no_entry_value; super.removeAt( index ); // clear key, state; adjust size Index: _E_ObjectHashMap.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/map/hash/Attic/_E_ObjectHashMap.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_ObjectHashMap.template 9 Oct 2009 02:46:07 -0000 1.1.2.6 --- _E_ObjectHashMap.template 7 Nov 2009 03:36:44 -0000 1.1.2.7 *************** *** 268,274 **** - // TODO: review and see if we can make this at least protected. /** {@inheritDoc} */ ! public void removeAt( int index ) { _values[index] = null; super.removeAt( index ); // clear key, state; adjust size --- 268,273 ---- /** {@inheritDoc} */ ! protected void removeAt( int index ) { _values[index] = null; super.removeAt( index ); // clear key, state; adjust size Index: Object_E_HashMap.template =================================================================== RCS file: /cvsroot/trove4j/trove/templates/gnu/trove/map/hash/Attic/Object_E_HashMap.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 *** Object_E_HashMap.template 18 Sep 2009 21:50:08 -0000 1.1.2.3 --- Object_E_HashMap.template 7 Nov 2009 03:36:44 -0000 1.1.2.4 *************** *** 281,285 **** - // TODO: review and see if we can make this at least protected. /** * Removes the mapping at <tt>index</tt> from the map. --- 281,284 ---- *************** *** 289,293 **** * @param index an <code>int</code> value */ ! public void removeAt( int index ) { _values[index] = no_entry_value; super.removeAt( index ); // clear key, state; adjust size --- 288,292 ---- * @param index an <code>int</code> value */ ! protected void removeAt( int index ) { _values[index] = no_entry_value; super.removeAt( index ); // clear key, state; adjust size |