Examples of ItemInfo


Examples of org.apache.jackrabbit.spi.ItemInfo

         */
        public ItemInfo next() {
            if (prefetchQueue.isEmpty()) {
                throw new NoSuchElementException();
            } else {
                ItemInfo next = prefetchQueue.remove(0);
                if (next instanceof NodeInfo) {
                    nodeInfos.remove(((NodeInfo) next).getId());
                }
                return next;
            }
View Full Code Here

Examples of org.jpokemon.item.ItemInfo

public class ItemSelector extends JPokemonSelector<ItemInfo> {
  @Override
  protected void reloadItems() {
    removeAllItems();

    ItemInfo item;
    for (int i = 1; (item = ItemInfo.get(i)) != null; i++) {
      addElementToModel(item);
    }
  }
View Full Code Here

Examples of pl.net.bluesoft.rnd.processtool.dict.mapping.metadata.item.ItemInfo

    }
    return itemInfos.get(clazz);
  }

  private ItemInfo createItemInfo(Class clazz) {// 1 provider na slownik -> keszowanie
    ItemInfo itemInfo = new ItemInfo();
    for (Field field : getDeclaredFields(clazz)) {
      DictKey dictKey = field.getAnnotation(DictKey.class);
      if (dictKey != null) {
        PropertyInfo propInfo = new PropertyInfo();
        propInfo.setProperty(field.getName());
        propInfo.setDictName(dictKey.dict());
        propInfo.setDictEntryProvider(getDictEntryProvider(dictKey.dict()));
        itemInfo.addPropertyInfo(propInfo);
      }
    }
    return itemInfo;
  }
View Full Code Here

Examples of uk.co.thomasc.scrapbanktf.util.ItemInfo

      final Map<Integer, MutableInt> sortedFreq = Util.sortHashMapByValues(freq, true);
      for (final Entry<Integer, MutableInt> entry : sortedFreq.entrySet()) {
        if (entry.getValue().get() < limit) {
          break;
        }
        final ItemInfo itemInfo = Util.getItemInfo(entry.getKey());
        out += "\n" + itemInfo.getName() + " x" + entry.getValue().get();
      }
      return out;
    } catch (final ParseException e) {
      e.printStackTrace();
    }
View Full Code Here
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.