com.ijchart.xychart.web
Class ChartID

java.lang.Object
  extended by com.ijchart.xychart.web.ChartID

public class ChartID
extends java.lang.Object

Title: IJChart

Description: a chart library for the Java(tm) platform.

Calculate the unique chart id.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Method Summary
static ChartID getInstance()
           Returns the unique instance.
 long getNextChartId()
           Returns the next value of chart id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ChartID getInstance()
Returns the unique instance.

Returns:
ChartID The unique instance.

getNextChartId

public long getNextChartId()
Returns the next value of chart id.

Returns:
long The new chart id.