PageRenderTime 123ms CodeModel.GetById 114ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/alaspatial/src/main/java/org/ala/spatial/analysis/index/CommonNameRecord.java

http://alageospatialportal.googlecode.com/
Java | 24 lines | 13 code | 3 blank | 8 comment | 0 complexity | c91b2c03e39d03254b2cf6772211cf18 MD5 | raw file
 1/*
 2 * To change this template, choose Tools | Templates
 3 * and open the template in the editor.
 4 */
 5package org.ala.spatial.analysis.index;
 6
 7/**
 8 *
 9 * @author Adam
10 */
11public class CommonNameRecord {
12
13    public String name;
14    public String nameLowerCase;
15    public String nameAZ;
16    public int index;
17
18    public CommonNameRecord(String name_, int index_) {
19        name = name_;
20        index = index_;
21        nameLowerCase = name_.toLowerCase();
22        nameAZ = nameLowerCase.replaceAll("[^a-z]", "");
23    }
24}