Codota Logo
ReteNode.clone
Code IndexAdd Codota to your IDE (free)

How to use
clone
method
in
jadex.rules.rulesystem.rete.nodes.ReteNode

Best Java code snippets using jadex.rules.rulesystem.rete.nodes.ReteNode.clone (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: net.sourceforge.jadex/jadex-rules

  /**
   *  Clone this object.
   *  @return A clone of this object.
   */
  public Object clone()
  {
    RetePatternMatcherFunctionality ret = null;
    
    try
    {    
      ret = (RetePatternMatcherFunctionality)super.clone();
      ret.rulebase = (IRulebase)rulebase.clone();
      ret.rulebase.addRulebaseListener(ret);
      ret.node = (ReteNode)node.clone();
    }
    catch(CloneNotSupportedException exception)
    {
      throw new RuntimeException("Cloning not supported: "+this);
    }
    
    return ret;
  }
}
origin: org.activecomponents.jadex/jadex-rules

  /**
   *  Clone this object.
   *  @return A clone of this object.
   */
  public Object clone()
  {
    RetePatternMatcherFunctionality ret = null;
    
    try
    {    
      ret = (RetePatternMatcherFunctionality)super.clone();
      ret.rulebase = (IRulebase)rulebase.clone();
      ret.rulebase.addRulebaseListener(ret);
      ret.node = (ReteNode)node.clone();
    }
    catch(CloneNotSupportedException exception)
    {
      throw new RuntimeException("Cloning not supported: "+this);
    }
    
    return ret;
  }
}
jadex.rules.rulesystem.rete.nodesReteNodeclone

Popular methods of ReteNode

  • getTerminalNode
    Set the terminal node for a rule.
  • <init>
    Create a new rete system.
  • addObject
    Tell the condition system about a new object in the state.
  • addRule
    Add a rule to the network.
  • checkConsistency
    Check consistency of Rete network/memory. For debugging. Only performs some simple checks and does n
  • getIndirectNodes
    Get the set of indirectly affected nodes for an attribute type.
  • getInitialFactNode
    Get the initial fact node (if any).
  • getNextNodeId
    Get the next nodecounter.
  • getRelevantAttributes
    Get the set of relevant attribute types.
  • getTypeNode
    Get the node for a type.
  • getTypeNodes
    Get the set of matching type nodes for a (sub)type.
  • modifyObject
    Tell the condition system about a modified object in the state.
  • getTypeNodes,
  • modifyObject,
  • putTerminalNode,
  • removeObject,
  • removeRule,
  • setInited,
  • getBuilder

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • startActivity (Activity)
  • orElseThrow (Optional)
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now