Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/francy/js/packages/francy-core/src/util/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 17.3.2023 mit Größe 823 B image not shown  

Quelle  data-handler.js   Sprache: JAVA

 
import JsonUtils from './json';
import {Logger} from './logger';

/**
 * This class provides utility methods to handle and store data.
 *
 * @access private
 */

export default class DataHandler {

  /**
   * Default Constructor
   */

  constructor() {
    /**
     * Stores the data object
     * @type {object}
     */

    this.data = undefined;
  }

  /**
   * Loads and stores data if valid. This will invoke `JsonUtils.parse` to transform
   * this {string} into a JSON object.
   *
   * @param {Object} json - a francy valid json string that will be parsed into an {object}
   * @returns {Object} this instance
   * @public
   */

  load(json) {
    let data = JsonUtils.parse(json);
    if (data) {
      this.data = data;
    }
    Logger.debug(`${this.constructor.name} loaded data:`, data);
    return this;
  }

}

Messung V0.5
C=93 H=98 G=95

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.