Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.HashSet;

public class Main {
    private static final HashSet<String> DB_PRIMITIVE_TYPES = new HashSet<String>(14);

    public static boolean isDbPrimitiveType(Class<?> fieldType) {
        return DB_PRIMITIVE_TYPES.contains(fieldType.getCanonicalName());
    }
}