com.varankin.io.container
Interface TailedAutomaton<Atom>

Type Parameters:
Atom - elementary object described by syntax.
All Superinterfaces:
Automaton<Atom>, Receiver<Atom>

public interface TailedAutomaton<Atom>
extends Automaton<Atom>

Abstract state machine with a queue of last elementary objects that should be returned back to provider of objects (so called "tail").

Author:
© 2010 Nikolai Varankine

Field Summary
 
Fields inherited from interface com.varankin.io.container.Automaton
IDENTICAL, IRRELEVANT
 
Method Summary
 java.util.List<Atom> tail()
          Returns a queue of last elementary objects that should be returned back to provider of objects (so called "tail").
 
Methods inherited from interface com.varankin.io.container.Automaton
identity
 
Methods inherited from interface com.varankin.io.container.Receiver
add
 

Method Detail

tail

java.util.List<Atom> tail()
Returns a queue of last elementary objects that should be returned back to provider of objects (so called "tail").

Returns:
current sequence of elementary objects in the tail; any update to returned list affects the tail.