com.googlecode.jpattern.service.log.reader
Class NullQueueMessages

java.lang.Object
  extended by com.googlecode.jpattern.service.log.reader.NullQueueMessages
All Implemented Interfaces:
IQueueMessages, Serializable

public class NullQueueMessages
extends Object
implements IQueueMessages

Author:
Francesco CinĂ  07/ago/2009
See Also:
Serialized Form

Constructor Summary
NullQueueMessages()
           
 
Method Summary
 String get(int index)
           
 Iterator<String> iterator()
           
 boolean offer(String aMessage)
           
 String peek()
           
 String poll()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullQueueMessages

public NullQueueMessages()
Method Detail

offer

public boolean offer(String aMessage)
Specified by:
offer in interface IQueueMessages

peek

public String peek()
Specified by:
peek in interface IQueueMessages

poll

public String poll()
Specified by:
poll in interface IQueueMessages

size

public int size()
Specified by:
size in interface IQueueMessages

get

public String get(int index)
Specified by:
get in interface IQueueMessages

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface IQueueMessages


Copyright © 2011. All Rights Reserved.