Package hec.util
Class SortedTable
java.lang.Object
java.util.Dictionary
java.util.Hashtable
hec.util.SortedTable
- All Implemented Interfaces:
hec.io.AsciiSerializable,Serializable,Cloneable,Map
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldObject(Field fld) // AsciiSerializable Methods ----------------------------------------------String[]Returns a list of keys in sorted ascending order.Object[]Retuns a list of Key objects in sorted ascending orderObject[]getSortedKeyObjects(boolean ascending) Returns a list of key objects in sorted orderstatic voidbooleansetFieldObject(Field fld, Object fobj) Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
Constructor Details
-
SortedTable
public SortedTable()
-
-
Method Details
-
put
-
put
-
getSortedKeyObjects
Retuns a list of Key objects in sorted ascending order -
getSortedKeyObjects
Returns a list of key objects in sorted order- Parameters:
ascending- true if ascending, othwerwise false for descending
-
getSortedKeyList
Returns a list of keys in sorted ascending order. Keys are returned as strings. -
getFieldObject
// AsciiSerializable Methods ----------------------------------------------- Specified by:
getFieldObjectin interfacehec.io.AsciiSerializable
-
setFieldObject
- Specified by:
setFieldObjectin interfacehec.io.AsciiSerializable
-
main
-