Interface NewMethodArgumentsIdentifier
public interface NewMethodArgumentsIdentifier
Strategy interface to distinguish new arguments from ones that have been processed
before, e.g. by examining a message flag.
- Author:
- Dave Syer
-
Method Summary
-
Method Details
-
isNew
Inspect the arguments and determine if they have never been processed before. The safest choice when the answer is indeterminate is 'false'.- Parameters:
args
- the current method arguments.- Returns:
- true if the item is known to have never been processed before.
-