Class CoordinationSet<N extends java.lang.Comparable<N>>

    • Constructor Detail

      • CoordinationSet

        public CoordinationSet()
      • CoordinationSet

        public CoordinationSet​(java.util.Collection<CalendarDateSeries<N>> seriesCollection)
      • CoordinationSet

        public CoordinationSet​(int initialCapacity)
      • CoordinationSet

        public CoordinationSet​(int initialCapacity,
                               float loadFactor)
      • CoordinationSet

        public CoordinationSet​(java.util.Map<? extends java.lang.String,​? extends CalendarDateSeries<N>> members)
    • Method Detail

      • get

        public CalendarDateSeries<N> get​(java.lang.Object key)
        Specified by:
        get in interface java.util.Map<java.lang.String,​CalendarDateSeries<N extends java.lang.Comparable<N>>>
        Overrides:
        get in class java.util.HashMap<java.lang.String,​CalendarDateSeries<N extends java.lang.Comparable<N>>>
      • getAllCalendarDates

        public java.util.List<CalendarDate> getAllCalendarDates()
      • getAllSeriesNames

        public java.util.List<java.lang.String> getAllSeriesNames()
      • getEarliestFirstKey

        public CalendarDate getEarliestFirstKey()
      • getEarliestLastKey

        public CalendarDate getEarliestLastKey()
      • getLatestFirstKey

        public CalendarDate getLatestFirstKey()
      • getValue

        public N getValue​(java.lang.String series,
                          CalendarDate date)
      • prune

        public CoordinationSet<N> prune()
        Returns a new CoordinationSet where all series have the same first and last keys, as well as a common (the highest common) resolution.
      • prune

        public CoordinationSet<N> prune​(CalendarDateUnit resolution)
        Returns a new CoordinationSet where all series have the same first and last keys, as well as the specified resolution.
      • put

        public CalendarDateSeries<N> put​(CalendarDateSeries<N> series)
        Vill use the series' name as the key. Make sure you have set the name to something that uniquely identifies the series.
      • resample

        public CoordinationSet<N> resample​(CalendarDateUnit resolution)
        Returns a new set of series each resampled to the supplied resolution. No pruning!
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.AbstractMap<java.lang.String,​CalendarDateSeries<N extends java.lang.Comparable<N>>>