本文整理了Java中org.babyfish.collection.XOrderedMap.firstEntry()
方法的一些代码示例,展示了XOrderedMap.firstEntry()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XOrderedMap.firstEntry()
方法的具体详情如下:
包路径:org.babyfish.collection.XOrderedMap
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!