equals

public abstract boolean equals(ItemMeta meta1, ItemMeta meta2)

This method is used to compare two item meta data objects.

Return

false if one of the meta has data the other does not, otherwise true

Parameters

meta1

First meta to compare, and may be null to indicate no data

meta2

Second meta to compare, and may be null to indicate no data

Throws

if either meta was not created by this factory