AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Private 成员函数 | Private 属性 | 所有成员列表
com.ab.view.chart.IndexXYMap< K, V >类 参考
类 com.ab.view.chart.IndexXYMap< K, V > 继承关系图:

Public 成员函数

 IndexXYMap ()
 
put (K key, V value)
 
double getMaxXDifference ()
 
void clear ()
 
getXByIndex (int index)
 
getYByIndex (int index)
 
XYEntry< K, V > getByIndex (int index)
 
XYEntry< K, V > removeByIndex (int index)
 
int getIndexForKey (K key)
 

Private 成员函数

void updateMaxXDifference ()
 

Private 属性

final List< K > indexList = new ArrayList<K>()
 
double maxXDifference = 0
 

详细描述

This class requires sorted x values.

参数
<K>the key type
<V>the value type

构造及析构函数说明

com.ab.view.chart.IndexXYMap< K, V >.IndexXYMap ( )
inline

Instantiates a new index xy map.

成员函数说明

void com.ab.view.chart.IndexXYMap< K, V >.clear ( )
inline

描述:TODO.

版本
v1.0
参见
java.util.TreeMap::clear()
作者
: amsoft.cn
日期
:2013-6-17 上午9:04:48
XYEntry<K, V> com.ab.view.chart.IndexXYMap< K, V >.getByIndex ( int  index)
inline

Returns XY-entry according to the given index.

参数
indexthe index
返回
the X and Y values
int com.ab.view.chart.IndexXYMap< K, V >.getIndexForKey ( key)
inline

Gets the index for key.

参数
keythe key
返回
the index for key
double com.ab.view.chart.IndexXYMap< K, V >.getMaxXDifference ( )
inline

Gets the max x difference.

返回
the max x difference
K com.ab.view.chart.IndexXYMap< K, V >.getXByIndex ( int  index)
inline

Returns X-value according to the given index.

参数
indexthe index
返回
the X value
V com.ab.view.chart.IndexXYMap< K, V >.getYByIndex ( int  index)
inline

Returns Y-value according to the given index.

参数
indexthe index
返回
the Y value
V com.ab.view.chart.IndexXYMap< K, V >.put ( key,
value 
)
inline

描述:TODO.

版本
v1.0
参数
keythe key
valuethe value
返回
the v
参见
java.util.TreeMap::put(java.lang.Object, java.lang.Object)
作者
: amsoft.cn
日期
:2013-6-17 上午9:04:48
XYEntry<K, V> com.ab.view.chart.IndexXYMap< K, V >.removeByIndex ( int  index)
inline

Removes entry from map by index.

参数
indexthe index
返回
the xY entry
void com.ab.view.chart.IndexXYMap< K, V >.updateMaxXDifference ( )
inlineprivate

Update max x difference.

类成员变量说明

final List<K> com.ab.view.chart.IndexXYMap< K, V >.indexList = new ArrayList<K>()
private

The index list.

double com.ab.view.chart.IndexXYMap< K, V >.maxXDifference = 0
private

The max x difference.


该类的文档由以下文件生成: