org.babyfish.collection.XOrderedMap.firstEntry()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中org.babyfish.collection.XOrderedMap.firstEntry()方法的一些代码示例,展示了XOrderedMap.firstEntry()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XOrderedMap.firstEntry()方法的具体详情如下:
包路径:org.babyfish.collection.XOrderedMap
类名称:XOrderedMap
方法名:firstEntry

XOrderedMap.firstEntry介绍

暂无

代码示例

代码示例来源:origin: babyfish-ct/babyfish

@Override
protected XEntry<K, V> createBaseView(
    XOrderedMap<K, V> baseMap, ViewInfo viewInfo) {
  if (viewInfo instanceof OrderedMapViewInfos.FirstEntry) {
    return baseMap.firstEntry();
  }
  throw new IllegalArgumentException(CommonMessages.illegalViewInfo());
}

代码示例来源:origin: babyfish-ct/babyfish

@Override
protected XEntry<K, V> createBaseView(
    XOrderedMap<K, V> baseMap, ViewInfo viewInfo) {
  if (viewInfo instanceof OrderedMapViewInfos.FirstEntry) {
    return baseMap.firstEntry();
  }
  throw new IllegalArgumentException(CommonMessages.illegalViewInfo());
}

代码示例来源:origin: babyfish-ct/babyfish

public MethodSource getMethodSource(Method method) {
    ClassEntry classEntry = this.context.classEntries.get(
        Type.getInternalName(method.getDeclaringClass()));
    if (classEntry != null) {
      MethodEntry methodEntry = classEntry.methodEntries.get(
          new Descriptor(method.getName(), Type.getMethodDescriptor(method)));
      return new MethodSource(methodEntry);
    }
    throw new IllegalArgumentException(
        canNotFindMethodSource(
            this.context.owner().getClass(),
            method,
            this.context.classEntries.firstEntry().getValue().clazz
        )
    );
  }
}

代码示例来源:origin: babyfish-ct/babyfish

innerMV.visitTryCatchBlock(
    tryLabel, 
    catchLabels.firstEntry().getValue(), 
    entry.getValue(), 
    entry.getKey());

代码示例来源:origin: babyfish-ct/babyfish

column = allEntityMap.firstEntry().getValue();

相关文章