de.tsl2.nano.core.util.Util.untyped()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.1k)|赞(0)|评价(0)|浏览(429)

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

Util.untyped介绍

暂无

代码示例

代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.serviceaccess

/**
 * constructor
 * @param resultType
 * @param attribute
 * @param selection
 * @param relationsToLoad
 */
public InSelection(Class<T> resultType, String attribute, Collection<?> selection, Class<Object>... relationsToLoad) {
  super(resultType, relationsToLoad);
  par = Arrays.asList(Util.untyped(selection));
  this.attribute = attribute;
}

代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.directaccess

@Override
public Set<Parameter<?>> getParameters() {
  return new HashSet<Parameter<?>>((Collection<? extends Parameter<?>>) Util.untyped(parameter.values()));
}

代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor

protected void addSessionValues(ISession session, Bean bean) {
  //do the Object-casting trick to cast from List<Object> to List<BeanDefinition>
  addSessionValues((List<BeanDefinition>) Util.untyped(Arrays.asList(session.getNavigationStack())), bean);
}

代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor

bean.attributeFilter = beandef.attributeFilter != null ? CollectionUtil.copy(beandef.attributeFilter) : null;
bean.attributeDefinitions =
  (LinkedHashMap<String, IAttributeDefinition<?>>) Util.untyped(createValueDefinitions(beandef
    .getAttributeDefinitions()));
if (beandef.presentable != null)

代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.descriptor

Collection<T> collection = vsel.getValueAsCollection();
beanCollector =
  (BeanCollector<?, ?>) Util.untyped(BeanCollector.getBeanCollector(
    vsel.getCollectionEntryType(),
    collection,
  (BeanCollector<?, ?>) Util.untyped(BeanCollector.getBeanCollector(getType(), selection, enabled
    ? MODE_ALL_SINGLE : 0, comp));
beanCollector.setSelectionProvider(new SelectionProvider(selection));

代码示例来源:origin: net.sf.tsl2nano/tsl2.nano.vnet

(List<Connection<T, D>>) Util.untyped(currentConnection.getDestination().getConnections());
Node<T, D> successor;
for (Connection<T, D> con : nextConnections) {

相关文章