Class PackageMetaInfo

java.lang.Object
com.massifmaps.packagemanager.PackageMetaInfo

public class PackageMetaInfo extends Object
Package meta info element. Can contain JSON-style structured data, including objects and arrays.
  • Constructor Details

    • PackageMetaInfo

      public PackageMetaInfo(Variant var)
      Constructs a new PackageMetaInfo object from existing JSON value.
      Parameters:
      var - The variant to use.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Checks if this object is equal to the specified object.
      Overrides:
      equals in class Object
      Parameters:
      obj - The reference object.
      Returns:
      True when objects are equal, false otherwise.
    • hashCode

      public int hashCode()
      Returns the hash value of this object.
      Overrides:
      hashCode in class Object
      Returns:
      The hash value of this object.
    • getVariant

      public Variant getVariant()
      Returns the underlying variant.
      Returns:
      The value of the metainfo.