Package ch.rabanti.picoxlsx4j.lowLevel
Class SortedMap
- java.lang.Object
-
- ch.rabanti.picoxlsx4j.lowLevel.SortedMap
-
class SortedMap extends java.lang.ObjectClass representing a reduced sorted map (key / value). This class is not compatible with the Map interface
-
-
Constructor Summary
Constructors Constructor Description SortedMap()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringadd(java.lang.String key, java.lang.String value)Method to add a key value pairjava.util.List<java.lang.String>getKeys()Gets the keys of the map as listintsize()Gets the size of the map
-
-
-
Method Detail
-
add
public java.lang.String add(java.lang.String key, java.lang.String value)Method to add a key value pair- Parameters:
key- key as stringvalue- value as string- Returns:
- returns the resolved string (either added or returned from an existing entry)
-
getKeys
public java.util.List<java.lang.String> getKeys()
Gets the keys of the map as list- Returns:
- ArrayList of Keys
-
size
public int size()
Gets the size of the map- Returns:
- Number of entries in the map
-
-