Removing doubles from a list





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

« Previous 1 2 Next »
10
Date Submitted Sat. Mar. 25th, 2006 9:32 PM
Revision 1
Beginner baldo
Tags Calendar | CSS | definition | HTML | List | xhml
Comments 3 comments
this is a css to style a definition list to get a calendar list type.

See the final render.
9
Date Submitted Wed. Dec. 27th, 2006 9:40 AM
Revision 1
Scripter bertheymans
Tags Java | List | Set | uniqueness
Comments 2 comments
This is a very convenient way to remove all doubles from a List in Java. The only prerequisite is that the elements in the list have proper equals and hashCode methods.

It work by using the constructor of a Set that takes a Collection as an argument.

I poured the snippet in a little program so can run it straight away.
3
Date Submitted Thu. Mar. 2nd, 2006 11:23 AM
Revision 1
Syntax Master dannyboy
Tags DOMAIN | REMOVE | VBSCRIPT
Comments 0 comments
function to remove a computer from a domai
13
Date Submitted Mon. Oct. 2nd, 2006 1:05 PM
Revision 1
Beginner drench
Tags Array | JavaScript | List | Random | shuffle
Comments 3 comments
It works with Array types. The example is a simple list of numbers, but the array could contain anything; lists of strings, functions, DOM nodes, whatever. Unfortunately, a lot of things that seem like arrays in the DOM aren't really, so you can't shuffle the images on a page with just document.images.shuffle() all by itself.
9
Date Submitted Fri. Oct. 14th, 2005 5:06 PM
Revision 1
Helper lilleman
Tags Files | Folders | List | PHP
Comments 1 comments
Get a List of Folders and/or Files
11
Date Submitted Sun. Oct. 9th, 2005 8:12 PM
Revision 1
Coder mattrmiller
Tags Cookie | JavaScript | Set
Comments 0 comments
Set a Cookie
7
Date Submitted Tue. Mar. 14th, 2006 11:49 PM
Revision 1
Coder mattrmiller
Tags Java | Newline | REMOVE | Replace | String
Comments 4 comments
Remove newslines from a string.
11
Date Submitted Wed. Mar. 29th, 2006 12:04 PM
Revision 1
Coder mattrmiller
Tags Delete | Directory | Java | Recursive | REMOVE
Comments 1 comments
Recursively delete a directory, emptying all contents.
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.
3
Date Submitted Sat. Oct. 15th, 2005 5:32 PM
Revision 1
Helper ses5909
Tags Directory | Files | List | VB.NET
Comments 1 comments
List Files in a Directory in VB.NET
« Previous 1 2 Next »