PageRenderTime 106ms CodeModel.GetById 39ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/src/main/java/uk/ac/cam/ch/ami/EquipmentSecondNames.java

https://bitbucket.org/jat45/ami
Java | 28 lines | 16 code | 6 blank | 6 comment | 0 complexity | 1897a947b70c88ace691220a6cf6cf7f MD5 | raw file
 1package uk.ac.cam.ch.ami;
 2
 3/**
 4 * Created by IntelliJ IDEA.
 5 * User: alt36
 6 * Date: Sep 28, 2010
 7 * Time: 12:46:16 PM
 8 */
 9public enum EquipmentSecondNames {
10
11    SINGLE_NECKED("Single necked"),
12    THREE_NECKED("Three necked"),
13    GLASS("Glass"),
14    PYREX("Pyrex"),
15    CERAMIC("Ceramic"),
16    WATER("Water");
17
18    private final String name;
19
20    public String toString(){
21        return name;
22    }
23
24    private EquipmentSecondNames(String name) {
25        this.name = name;
26    }
27
28    }