001 package rac;
002
003 /**
004 * Visitor on a RAC.
005 * Since a RAC is a mutable data structure, we require an exact match for
006 * the data type (IRAContainer<T>, not IRAContainer<? extends T>).
007 * @author Mathias Ricken - Copyright 2008 - All rights reserved.
008 */
009 public interface IRACVisitor<T,R,P> {
010 public R emptyCase(IRAContainer<T> host, P... inp);
011 public R nonEmptyCase(IRAContainer<T> host, P... inp);
012 }
013
014