---
title: "java enum"
author: "l62s"
date: "2012-09-17T22:00:13Z"
tags: []
categories: ["编程语言"]
slug: "java-enum"
draft: false
lastmod: "2012-09-17T21:59:58Z"
id: 1680071
url: "https://l62s.iteye.com/blog/1680071"
---

enum Column{

a("a",1),b("b",2);

String title;

int defaultWidth;

private Column(String title, int defaultWidth) {

this.title = title;

this.defaultWidth = defaultWidth;

}

}