org.ckkloverdos.hint
Interface IHint

All Known Implementing Classes:
BinaryHint, UnaryHint

public interface IHint

Generic marker interface to be used for hints.

A hint is a generic parameter to be passed to methods and used according to context. Its role is to generalize the behaviour of the method. Usually, a method will have a hint as the last parameter. I think of the support for hints as a micro-pattern.

An implementation supporting hints, should specify the exact semantics.

It is noted that not all hints must implement this interface. It is only provided for implementation convenience.

Author:
Christos KK Loverdos
See Also:
BinaryHint, IFilter, IFilter.accept(Object, Object), AndFilter.accept(Object, Object)



Copyright © 1999-2007 Christos KK Loverdos. All Rights Reserved.