net.sf.mmm.util.lang.api
Interface Visitor<V>

Type Parameters:
V - is the generic type to visit.
All Known Implementing Classes:
NlsFormatterType.ClassFormatter

public interface Visitor<V>

This is the interface for a generic visitor that may visit(Object) values of a specific type.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Method Summary
 void visit(V value)
          This method is called to let the visitor inspect the given value.
 

Method Detail

visit

void visit(V value)
This method is called to let the visitor inspect the given value.

Parameters:
value - is the value to visit. An API that offers a Visitor as argument should specify further details about the value - especially if it may be null.


Copyright © 2001-2010 mmm-Team. All Rights Reserved.