Class CheckStore


  • public class CheckStore
    extends Object
    This class define a storage where some results of the checker can be save for later reuse by other checkers.
    Since:
    1.0
    Author:
    Laurent Jourdren
    • Method Detail

      • add

        public void add​(String key,
                        Object value)
        Store some data.
        Parameters:
        key - key of the data
        value - the data to store
      • get

        public Object get​(String key)
        Get some data.
        Parameters:
        key - key of the data to retrieve
        Returns:
        data if stored
      • contains

        public boolean contains​(String key)
        Test if a data exists.
        Parameters:
        key - key of the data to test
        Returns:
        true if data exists
      • clear

        public void clear()
        Clear the content of the CheckStore.
      • getCheckStore

        public static CheckStore getCheckStore()
        Get the instance of the CheckStore.
        Returns:
        the CheckStore object