Project

General

Profile

Actions

Task #5802

closed

NodeValue newZero(DataType dataType)

Added by Sergey Smolov almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Andrei Tatarnikov
Category:
Expression
Target version:
Start date:
04/06/2015
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Published in build:

Description

A convenience method with the following signature is required:

NodeValue newZero(DataType dataType)

Methods returns "zero value" of the specified data type.

For integer, real, boolean types it returns 0, 0.0, and false respectively (of course, embedded in NodeValue object).

For bit vector type it returns bit vector that contains only zeros.

For map type it returns map that contains only zeros too.

Actions

Also available in: Atom PDF