Example usage for com.fasterxml.jackson.databind.node ShortNode shortValue

List of usage examples for com.fasterxml.jackson.databind.node ShortNode shortValue

Introduction

In this page you can find the example usage for com.fasterxml.jackson.databind.node ShortNode shortValue.

Prototype

@Override
    public short shortValue() 

Source Link

Usage

From source file:com.bossletsplays.frost.utils.config.Configuration.java

public short getShort(String option) {
    ShortNode node = (ShortNode) map.get(option);
    return node.shortValue();
}