A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Opposite of a Union
Joined: Aug 12, 2003
Aug 14, 2003 15:34:00
I can't remember the term. Can anyone tell me? It's when you take 2 sets of data and only keep data that's in both sets. also, does
have a function that performs this action?
Joined: Jun 06, 2002
Aug 14, 2003 15:38:00
That's called an "intersection". The Java function, in the Set interface, is retainAll().
Union is addAll(). Set subtraction is removeAll().
Ron Newman - SCJP 1.2 (100%, 7 August 2002)
I agree. Here's the link:
subject: Opposite of a Union
display data page vise
Helps need on HTML Table for Ajax
google type next butons
Scrabble... it only takes a minute...
how to add navigation in JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015