001package org.dcm4che3.conf.core.api;
002
003public class Node<V> {
004
005    V ref;
006
007    V get() {
008        return ref;
009    }
010
011    public boolean isPrimitive() {
012        return ref == null ||
013                ref instanceof Number ||
014                ref instanceof String ||
015                ref instanceof Boolean;
016    }
017
018}