Package com.espertech.esper.view

Source Code of com.espertech.esper.view.ViewableDefaultImpl

package com.espertech.esper.view;

import com.espertech.esper.client.EventType;
import com.espertech.esper.client.EventBean;
import com.espertech.esper.collection.ArrayEventIterator;

import java.util.List;
import java.util.Iterator;

public class ViewableDefaultImpl implements Viewable
{
    private final EventType eventType;

    public ViewableDefaultImpl(EventType eventType)
    {
        this.eventType = eventType;
    }

    public View addView(View view)
    {
        return null;
    }

    public List<View> getViews()
    {
        return null;
    }

    public boolean removeView(View view)
    {
        return false;
    }

    public void removeAllViews()
    {
    }

    public boolean hasViews()
    {
        return false;
    }

    public EventType getEventType()
    {
        return eventType;
    }

    public Iterator<EventBean> iterator()
    {
        return new ArrayEventIterator(null);
    }
}
TOP

Related Classes of com.espertech.esper.view.ViewableDefaultImpl

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.