Interface LaggableMap<K,​V>

  • All Superinterfaces:
    java.util.Map<K,​V>
    All Known Implementing Classes:
    Table.Row

    public interface LaggableMap<K,​V>
    extends java.util.Map<K,​V>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V get​(java.lang.Object key)
      Gets the field value at the current position.
      V getLagged​(java.lang.Object key, int n)
      Gets the field value after applying a "lag transformation" to the current position.
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
    • Method Detail

      • get

        V get​(java.lang.Object key)

        Gets the field value at the current position.

        Specified by:
        get in interface java.util.Map<K,​V>
        Parameters:
        key - The field name.
        Returns:
        The field value or null.
      • getLagged

        V getLagged​(java.lang.Object key,
                    int n)

        Gets the field value after applying a "lag transformation" to the current position.

        Parameters:
        key - The field name.
        n - The number of steps to move backwards from the current position. The previous position is 1 step backwards.
        Returns:
        The field value or null.