org.cb.jset
Class MatchingSetFinder

java.lang.Object
  extended byorg.cb.jset.MatchingSetFinder
All Implemented Interfaces:
java.io.Serializable

public class MatchingSetFinder
extends java.lang.Object
implements java.io.Serializable

Helps to find sets of matching cards in a List of cards.

Version:
$Id: MatchingSetFinder.java 78 2004-04-13 04:25:57Z jerome $
Author:
jerome@coffeebreaks.org - last modified by $LastChangedBy: jerome $
See Also:
Serialized Form

Constructor Summary
MatchingSetFinder()
           
 
Method Summary
 CardSet[] findSets(java.util.List cards)
          Find the matching sets in the specified list of cards.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchingSetFinder

public MatchingSetFinder()
Method Detail

findSets

public CardSet[] findSets(java.util.List cards)
Find the matching sets in the specified list of cards.

Parameters:
cards - the list of cards. May contain null elements.
Returns:
an array of matching CardSets.


Copyright © 2004 CoffeeBreaks. All Rights Reserved.