Examples of expand()


Examples of org.apache.archiva.redback.components.evaluator.ExpressionEvaluator.expand()

            }
            else
            {
                userConfigFilename = expressionEvaluator.expand( userConfigFilename );
            }
            altConfigFilename = expressionEvaluator.expand( altConfigFilename );
            loadConfiguration();
            handleUpgradeConfiguration();
        }
        catch ( IndeterminateConfigurationException | RegistryException e )
        {
View Full Code Here

Examples of org.apache.myfaces.tobago.model.ExpandedState.expand()

        final ExpandedState expandedState = data.getExpandedState();
        final boolean oldExpanded = expandedState.isExpanded(path);
        final boolean newExpanded = expandedIndices.contains(rowIndex);
        if (newExpanded != oldExpanded) {
          if (newExpanded) {
            expandedState.expand(path);
          } else {
            expandedState.collapse(path);
          }
        }
      }
View Full Code Here

Examples of org.apache.wink.common.internal.uritemplate.BitWorkingUriTemplateProcessor.expand()

        hashMap = new HashMap<String, Object>();
        hashMap.put("var2", new String[] {""});
        assertEquals("instantiate template", "artifacts", template.expand(hashMap));
        hashMap = new HashMap<String, Object>();
        hashMap.put("var2", new String[] {"a", "b"});
        assertEquals("instantiate template", "artifacts", template.expand(hashMap));
    }

    public void testPrefixOperator() {
        UriTemplateProcessor template = new BitWorkingUriTemplateProcessor("{-prefix|/|var}/cat");
        UriTemplateProcessor template3 =
View Full Code Here

Examples of org.apache.wink.common.internal.uritemplate.JaxRsUriTemplateProcessor.expand()

        UriTemplateMatcher matcher = processor.matcher();
        boolean matches = matcher.matches("/path1/abc");
        assertTrue(matches);
        MultivaluedMap<String, String> values = new MultivaluedMapImpl<String, String>();
        values.add("var1", "xyz");
        String expanded = processor.expand(values);
        assertEquals("/path1/xyz", expanded);

        // 2
        processor.compile("/path2/{var1}");
        matcher = processor.matcher();
View Full Code Here

Examples of org.apache.wink.common.internal.uritemplate.UriTemplateProcessor.expand()

        hashMap.put("var1", (String)null);
        hashMap.put("var2", (String)null);
        assertEquals("instantiate template", "artifacts", template.expand(hashMap));
        hashMap = new HashMap<String, Object>();
        hashMap.put("var1", "");
        assertEquals("instantiate template", "artifacts", template.expand(hashMap));
        hashMap = new HashMap<String, Object>();
        hashMap.put("var2", "");
        assertEquals("instantiate template", "artifacts", template.expand(hashMap));
        hashMap = new HashMap<String, Object>();
        hashMap.put("var1", "");
View Full Code Here

Examples of org.codehaus.plexus.evaluator.DefaultExpressionEvaluator.expand()

            {
                userConfigFilename = userConfigFileNameSysProps;
            }
            else
            {
                userConfigFilename = expressionEvaluator.expand( userConfigFilename );
            }
            altConfigFilename = expressionEvaluator.expand( altConfigFilename );
            loadConfiguration();
            handleUpgradeConfiguration();
        }
View Full Code Here

Examples of org.codehaus.plexus.evaluator.ExpressionEvaluator.expand()

            {
                userConfigFilename = userConfigFileNameSysProps;
            }
            else
            {
                userConfigFilename = expressionEvaluator.expand( userConfigFilename );
            }
            altConfigFilename = expressionEvaluator.expand( altConfigFilename );
            loadConfiguration();
            handleUpgradeConfiguration();
        }
View Full Code Here

Examples of org.cspoker.ai.bots.bot.gametree.mcts.nodes.INode.expand()

    }
  }

  private void iterate(RootNode root) {
    INode selectedLeaf = root.selectRecursively();
    selectedLeaf.expand();
    double value = selectedLeaf.simulate();
    selectedLeaf.backPropagate(value);
  }

  private MCTSListener[] createListeners(GameState gameState, PlayerId actor) {
View Full Code Here

Examples of org.cspoker.ai.bots.bot.gametree.mcts.nodes.INode.expand()

  long nbSamples;

  private void iterate(RootNode root) {
    INode selectedLeaf = root.selectRecursively();
    selectedLeaf.expand();
    double value = selectedLeaf.simulate();
    selectedLeaf.backPropagate(value);
  }

  private MCTSListener[] createListeners(GameState gameState, PlayerId actor) {
View Full Code Here

Examples of org.drools.compiler.lang.Expander.expand()

                              final String source,
                              final Reader dsl) throws DroolsParserException {
        DefaultExpanderResolver resolver = getDefaultResolver(dsl);

        final Expander expander = resolver.get( "*", null );
        final String expanded = expander.expand( source );
        if ( expander.hasErrors() ) {
            this.results.addAll( expander.getErrors() );
        }
        return this.parse(isEditor, expanded);
    }
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.