Psy's Utils
Psy's Utils is a library of utilities that make data analysis and storage easier. So far the library includes 2 classes, TimeRange and HashMap2D.
TimeRange:
- A range of time represented by 2 java.util.Date objects
- Can be initiated with 1 or 2 Date objects or with a Date object and a length long
- Can be compared with other TimeRange objects and test for overlaps
- A length can be accessed in several units of time.
HashMap2D:
- Works like a regular HashMap, but uses 2 keys- a row and a column
- Can add, access, or remove single cells or entire rows or columns at once
Comments