当前位置: 首页>>代码示例>>Java>>正文


Java UnaryOperator类代码示例

本文整理汇总了Java中com.mitchellbosecke.pebble.operator.UnaryOperator的典型用法代码示例。如果您正苦于以下问题:Java UnaryOperator类的具体用法?Java UnaryOperator怎么用?Java UnaryOperator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


UnaryOperator类属于com.mitchellbosecke.pebble.operator包,在下文中一共展示了UnaryOperator类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getUnaryOperators

import com.mitchellbosecke.pebble.operator.UnaryOperator; //导入依赖的package包/类
public Map<String, UnaryOperator> getUnaryOperators() {
    return this.unaryOperators;
}
 
开发者ID:flapdoodle-oss,项目名称:de.flapdoodle.solid,代码行数:4,代码来源:ExtensionRegistry.java

示例2: getUnaryOperators

import com.mitchellbosecke.pebble.operator.UnaryOperator; //导入依赖的package包/类
@Override
public List<UnaryOperator> getUnaryOperators() {
    return null;
}
 
开发者ID:flapdoodle-oss,项目名称:de.flapdoodle.solid,代码行数:5,代码来源:AbstractExtension.java

示例3: getUnaryOperators

import com.mitchellbosecke.pebble.operator.UnaryOperator; //导入依赖的package包/类
@Override
public List<UnaryOperator> getUnaryOperators() {
  return Collections.EMPTY_LIST;
}
 
开发者ID:mvc-spec,项目名称:ozark,代码行数:5,代码来源:CustomExtensionTwo.java

示例4: ExpressionParser

import com.mitchellbosecke.pebble.operator.UnaryOperator; //导入依赖的package包/类
/**
 * Constructor
 *
 * @param parser
 *            A reference to the main parser
 * @param binaryOperators
 *            All the binary operators
 * @param unaryOperators
 *            All the unary operators
 */
public ExpressionParser(Parser parser, Map<String, BinaryOperator> binaryOperators,
        Map<String, UnaryOperator> unaryOperators) {
    this.parser = parser;
    this.binaryOperators = binaryOperators;
    this.unaryOperators = unaryOperators;
}
 
开发者ID:flapdoodle-oss,项目名称:de.flapdoodle.solid,代码行数:17,代码来源:ExpressionParser.java

示例5: ParserImpl

import com.mitchellbosecke.pebble.operator.UnaryOperator; //导入依赖的package包/类
/**
 * Constructor
 *
 * @param binaryOperators A map of binary operators
 * @param unaryOperators  A map of unary operators
 * @param tokenParsers    A map of token parsers
 */
public ParserImpl(Map<String, UnaryOperator> unaryOperators, Map<String, BinaryOperator> binaryOperators,
                  Map<String, TokenParser> tokenParsers) {
    this.binaryOperators = binaryOperators;
    this.unaryOperators = unaryOperators;
    this.tokenParsers = tokenParsers;
}
 
开发者ID:flapdoodle-oss,项目名称:de.flapdoodle.solid,代码行数:14,代码来源:ParserImpl.java

示例6: LexerImpl

import com.mitchellbosecke.pebble.operator.UnaryOperator; //导入依赖的package包/类
/**
 * Constructor
 *
 * @param syntax
 *            The primary syntax
 * @param unaryOperators
 *            The available unary operators
 * @param binaryOperators
 *            The available binary operators
 */
public LexerImpl(Syntax syntax, Collection<UnaryOperator> unaryOperators,
        Collection<BinaryOperator> binaryOperators) {
    this.syntax = syntax;
    this.unaryOperators = unaryOperators;
    this.binaryOperators = binaryOperators;
}
 
开发者ID:flapdoodle-oss,项目名称:de.flapdoodle.solid,代码行数:17,代码来源:LexerImpl.java

示例7: getUnaryOperators

import com.mitchellbosecke.pebble.operator.UnaryOperator; //导入依赖的package包/类
/**
 * Use this method to provide custom unary operators.
 *
 * @return A list of Operators. It is okay to return null;
 */
List<UnaryOperator> getUnaryOperators();
 
开发者ID:flapdoodle-oss,项目名称:de.flapdoodle.solid,代码行数:7,代码来源:Extension.java


注:本文中的com.mitchellbosecke.pebble.operator.UnaryOperator类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。