当前位置: 首页>>代码示例>>Java>>正文


Java DecoratingEventBean.getUnderlyingEvent方法代码示例

本文整理汇总了Java中com.espertech.esper.event.DecoratingEventBean.getUnderlyingEvent方法的典型用法代码示例。如果您正苦于以下问题:Java DecoratingEventBean.getUnderlyingEvent方法的具体用法?Java DecoratingEventBean.getUnderlyingEvent怎么用?Java DecoratingEventBean.getUnderlyingEvent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.espertech.esper.event.DecoratingEventBean的用法示例。


在下文中一共展示了DecoratingEventBean.getUnderlyingEvent方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: get

import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object get(EventBean event, int index) throws PropertyAccessException {
    if (!(event instanceof DecoratingEventBean)) {
        throw new PropertyAccessException("Mismatched property getter to EventBean type");
    }
    DecoratingEventBean wrapper = (DecoratingEventBean) event;
    EventBean wrapped = wrapper.getUnderlyingEvent();
    if (wrapped == null) {
        return null;
    }
    return undIndexed.get(wrapped, index);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:12,代码来源:WrapperGetterIndexed.java

示例2: get

import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object get(EventBean event, String key) throws PropertyAccessException {
    if (!(event instanceof DecoratingEventBean)) {
        throw new PropertyAccessException("Mismatched property getter to EventBean type");
    }
    DecoratingEventBean wrapper = (DecoratingEventBean) event;
    EventBean wrapped = wrapper.getUnderlyingEvent();
    if (wrapped == null) {
        return null;
    }
    return undMapped.get(wrapped, key);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:12,代码来源:WrapperGetterMapped.java

示例3: get

import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object get(EventBean theEvent) {
    if (!(theEvent instanceof DecoratingEventBean)) {
        throw new PropertyAccessException("Mismatched property getter to EventBean type");
    }
    DecoratingEventBean wrapperEvent = (DecoratingEventBean) theEvent;
    EventBean wrappedEvent = wrapperEvent.getUnderlyingEvent();
    if (wrappedEvent == null) {
        return null;
    }
    return underlyingGetter.get(wrappedEvent);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:12,代码来源:WrapperUnderlyingPropertyGetter.java

示例4: getFragment

import com.espertech.esper.event.DecoratingEventBean; //导入方法依赖的package包/类
public Object getFragment(EventBean theEvent) {
    if (!(theEvent instanceof DecoratingEventBean)) {
        throw new PropertyAccessException("Mismatched property getter to EventBean type");
    }
    DecoratingEventBean wrapperEvent = (DecoratingEventBean) theEvent;
    EventBean wrappedEvent = wrapperEvent.getUnderlyingEvent();
    if (wrappedEvent == null) {
        return null;
    }
    return underlyingGetter.getFragment(wrappedEvent);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:12,代码来源:WrapperUnderlyingPropertyGetter.java


注:本文中的com.espertech.esper.event.DecoratingEventBean.getUnderlyingEvent方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。