Removing double entries from a List





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

5
Date Submitted Mon. Oct. 30th, 2006 1:03 AM
Revision 1
Scripter SCoon
Tags C | CPlusPlus | Java | Ruby | String
Comments 3 comments
This class intended to collect TODO comments from java/c++/etc source files.

Example:

protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}


See also DirectoryScanner class.
8
Date Submitted Mon. Oct. 30th, 2006 4:42 AM
Revision 1
Scripter SCoon
Tags FreeMind | Java | Mindmaps | Ruby | Web | XML
Comments 0 comments
This code illustrates using ruby REXML package. It converts J2EE web application deployment descriptor web.xml into Freemind mindmap document.
7
Date Submitted Thu. Nov. 2nd, 2006 1:49 AM
Revision 1
Scripter SCoon
Tags List | Random | Ruby
Comments 1 comments
Weighted random selection from the list.

Don't forget to call itemsChanged after updating list content.
4
Date Submitted Tue. Nov. 7th, 2006 10:28 AM
Revision 1
Helper fastmike
Tags Java | String | System.IO
Comments 0 comments
To create a chatprogram in java we need 2 classes one for Client and one for Server from which the client will be able to connect and exchange text messages. to compile the code simply type these commands in command prompt window:-
1)ipconfig(memorize the Ip address)
2)javac client.java
3)javac server.java
4)java server 10.69.23.203 (You need to type your own ip address)
5) After this you need to open another command prompt window(Make sure the server command prompt window is also open). now type:
java client 10.69.23.203
Thats it.
if anyone have any problems please post a comment and i will answer all of your questions or if you are having trouble in compiling.
0
Date Submitted Sun. Mar. 4th, 2007 12:48 PM
Revision 1
Helper BerndSchiffer
Tags groovy | groovyclassloader | Java
Comments 0 comments
A GroovyClassLoader demonstration. The given domain is a german water flow meter system; I think, you shouldn't be able to understand the domain, but you should be able to understand, how to load a Groovy class in Java via a GroovyClassLoader.
6
Date Submitted Sat. Jul. 28th, 2007 3:19 PM
Revision 1
Helper rugi
Tags BufferedImage | Canvas | Image | Java
Comments 0 comments
Convert
java.awt.Canvas to java.awt.image.BufferedImage or java.awt.image.Image
5
Date Submitted Mon. Aug. 13th, 2007 12:04 AM
Revision 1
Beginner bcoe
Tags Java | RSS | SAX | XML
Comments 0 comments
From a tutorial on building an RSS SAX parser on my website:

full article can be found here
7
Date Submitted Wed. Sep. 5th, 2007 9:21 PM
Revision 1
Helper rugi
Tags "full | desktop | Java | screen" | Swing
Comments 0 comments
Snippet for display one frame in full screen mode.
2
Date Submitted Fri. Oct. 19th, 2007 8:09 PM
Revision 1
Helper rugi
Tags BufferedImage | Canvas | Image | Java
Comments 0 comments
Convert java.awt.Canvas to java.awt.image.BufferedImage
2
Date Submitted Fri. Oct. 26th, 2007 3:20 PM
Revision 1
Helper rugi
Tags byte | InputStream | Java
Comments 0 comments
Convert InputStream to byte[]