com.stimulsoft.report.export.tools
Class StiMapUtil

java.lang.Object
  extended by com.stimulsoft.report.export.tools.StiMapUtil

public class StiMapUtil
extends java.lang.Object

Map util Copyright Stimulsoft


Constructor Summary
StiMapUtil()
           
 
Method Summary
static java.lang.Object getByIndex(java.util.SortedMap map, int index)
          Get value in SortedMap by index
static int getIndexOf(java.util.SortedMap map, java.lang.Object value)
          Get value index in SortedMap
static void removeAt(java.util.SortedMap map, int index)
          Remove value in SortedMap by index
static void setByIndex(java.util.SortedMap map, int index, java.lang.Object value)
          Put value to map in index
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiMapUtil

public StiMapUtil()
Method Detail

getIndexOf

public static int getIndexOf(java.util.SortedMap map,
                             java.lang.Object value)
Get value index in SortedMap

Parameters:
map -
value -
Returns:
Value index

setByIndex

public static void setByIndex(java.util.SortedMap map,
                              int index,
                              java.lang.Object value)
Put value to map in index

Parameters:
map -
index -
value -

removeAt

public static void removeAt(java.util.SortedMap map,
                            int index)
Remove value in SortedMap by index

Parameters:
map -
index -

getByIndex

public static java.lang.Object getByIndex(java.util.SortedMap map,
                                          int index)
Get value in SortedMap by index

Parameters:
map -
index -
Returns:
Result value