Class HashMapSubstitution

All Implemented Interfaces:
Substitution, Comparable<Substitution>

public class HashMapSubstitution extends AbstractMapBasedSubstitution
An implementation of Substitution using a HashMap.
Author:
Clément Sipieter (INRIA) clement@6pi.fr
  • Constructor Details

    • HashMapSubstitution

      public HashMapSubstitution()
      Creates an empty substitution backed by a hash map.
    • HashMapSubstitution

      public HashMapSubstitution(Substitution substitution)
      Creates a substitution initialized from the given substitution.
      Parameters:
      substitution - the substitution to copy
  • Method Details