1.0.0

org.eclipse.soda.dk.filter
Class Filters

java.lang.Object
  extended by org.eclipse.soda.dk.filter.Filters
All Implemented Interfaces:
FilterService

public class Filters
extends java.lang.Object
implements FilterService

The Filters class handles muliple filter objects.

Version:
1.0.0

Constructor Summary
Filters(FilterService[] filters)
          Constructs an instance of this class from the specified filters parameter.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two objects for equality.
 int hashCode()
          Generates a hash code for the receiver.
 boolean matches(MessageService message0, MessageService message1)
          Perform the matches method and return the boolean result.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Filters

public Filters(FilterService[] filters)
Constructs an instance of this class from the specified filters parameter.

Parameters:
filters - The filters (FilterService[]) parameter.
Method Detail

equals

public boolean equals(java.lang.Object obj)
Compares two objects for equality. Returns a boolean that indicates whether this object is equivalent to the specified object. This method is used when an object is stored in a hashtable.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the Object to compare with
Returns:
true if these Objects are equal; false otherwise.
See Also:
Hashtable

hashCode

public int hashCode()
Generates a hash code for the receiver. This method is supported primarily for hash tables, such as those provided in java.util.

Overrides:
hashCode in class java.lang.Object
Returns:
an integer hash code for the receiver
See Also:
Hashtable

matches

public boolean matches(MessageService message0,
                       MessageService message1)
Perform the matches method and return the boolean result.

Specified by:
matches in interface FilterService
Parameters:
message0 - org.eclipse.soda.dk.message.service.MessageService
message1 - org.eclipse.soda.dk.message.service.MessageService
Returns:
Results of the matches (boolean) value.
See Also:
FilterService.matches(org.eclipse.soda.dk.message.service.MessageService, org.eclipse.soda.dk.message.service.MessageService)

1.0.0

Copyright (c) 1999, 2007 IBM