Tabnine Logo
ItemFuncs.getLinkedItemSet
Code IndexAdd Tabnine to your IDE (free)

How to use
getLinkedItemSet
method
in
org.appdapter.core.item.ItemFuncs

Best Java code snippets using org.appdapter.core.item.ItemFuncs.getLinkedItemSet (Showing top 4 results out of 315)

origin: org.cogchar/org.cogchar.lib.core.impl

@Override protected void initExtendedFieldsAndLinks(ChatConfig mcc, Item configItem, Assembler assmblr,
    Mode mode) {
  getLogger().debug("ChatConfig.initExtendedFieldsAndLinks()-BEGIN");
  Set<Item> resourceItems = ItemFuncs.getLinkedItemSet(configItem, ChatAN.P_config);
  for (Item ji : resourceItems) {
    ChatConfigResource ccr = new ChatConfigResource(ji);
    getLogger().debug("Adding ChatConfigResource in ChatConfig: {} ", ccr);
    mcc.myCCRs.add(ccr);
  }
}
origin: org.appdapter/org.appdapter.lib.gui

@Override
protected void initExtendedFieldsAndLinks(ScreenBoxImpl box, Item configItem, Assembler asmblr, Mode mode) {
  theLogger.info("bonus box init here");
  List<Object> linkedTriggers = getReader().findOrMakeLinkedObjects(configItem, BoxAssemblyNames.P_trigger, asmblr, mode, null);
  for (Object lt : linkedTriggers) {
    Trigger t = (Trigger) lt;
    box.attachTrigger(t);
  }
  Set<Item> extraItems = ItemFuncs.getLinkedItemSet(configItem, ComponentAssemblyNames.P_extraThing);
  System.out.println("Found extraItems: " + extraItems);
}
origin: org.cogchar/org.cogchar.lib.hedspc.api

@Override protected void initExtendedFieldsAndLinks(BoneRobotConfig mrc, Item configItem, Assembler assmblr, Mode mode) {
  getLogger().debug("BoneRobotConfig.initExtendedFieldsAndLinks()-BEGIN");
  mrc.myRobotName = ItemFuncs.getString(configItem, BoneAN.P_robotName, null);
  Set<Item> jointItems = ItemFuncs.getLinkedItemSet(configItem, BoneAN.P_joint);
  for (Item ji : jointItems) {
    BoneJointConfig bjc = new BoneJointConfig(ji);
    mrc.myBJCs.add(bjc);
  }
  Collections.sort(mrc.myBJCs, new Comparator() {
    public int compare(Object o1, Object o2) {
      int jointNum1 = ((BoneJointConfig) o1).myJointNum;
      int jointNum2 = ((BoneJointConfig) o2).myJointNum;
      return jointNum1 - jointNum2;
    }
  });
}
origin: org.cogchar/org.cogchar.lib.hedspc.api

public BoneJointConfig(Item configItem) {
  myURI_Fragment = configItem.getIdent().getLocalName();
  myJointNum = ItemFuncs.getInteger(configItem, BoneAN.P_jointNum, null);
  myJointName = ItemFuncs.getString(configItem, BoneAN.P_jointName, null);
  myNormalDefaultPos = ItemFuncs.getDouble(configItem, BoneAN.P_defaultPosNorm, null);
  Set<Item> bprItems = ItemFuncs.getLinkedItemSet(configItem, BoneAN.P_projectionRange);
  for (Item bpri : bprItems) {
    BoneProjectionRange bpr = BoneProjectionRange.makeOne(this, bpri);
    myProjectionRanges.add(bpr);
  }
}
org.appdapter.core.itemItemFuncsgetLinkedItemSet

Popular methods of ItemFuncs

  • getString
  • getDouble
  • getInteger
  • getLong
  • getNeighborIdent

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • setScale (BigDecimal)
  • startActivity (Activity)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now