/** * Returns true if this tagmap contains every tag in other. */ public boolean containsAll(TagMap other) { for (Map.Entry<String,Object> entry : other.entrySet()) { Object value = get(entry.getKey()); if (value == null || !value.equals(entry.getValue())) { // either key does not exist here, or the value is different return false; } } return true; } }
/** * Returns true if this tagmap contains every tag in other. */ public boolean containsAll(TagMap other) { for (Map.Entry<String,Object> entry : other.entrySet()) { Object value = get(entry.getKey()); if (value == null || !value.equals(entry.getValue())) { // either key does not exist here, or the value is different return false; } } return true; } }
/** * Returns true if this tagmap contains every tag in other. */ public boolean containsAll(TagMap other) { for (Map.Entry<String,Object> entry : other.entrySet()) { Object value = get(entry.getKey()); if (value == null || !value.equals(entry.getValue())) { // either key does not exist here, or the value is different return false; } } return true; } }
/** * Returns true if this tagmap contains every tag in other. * @param other * @return */ public boolean containsAll(TagMap other) { for (Map.Entry<String,Object> entry : other.entrySet()) { Object value = get(entry.getKey()); if (value == null || !value.equals(entry.getValue())) { // either key does not exist here, or the value is different return false; } } return true; } }
/** * Returns true if this tagmap contains every tag in other. */ public boolean containsAll(TagMap other) { for (Map.Entry<String,Object> entry : other.entrySet()) { Object value = get(entry.getKey()); if (value == null || !value.equals(entry.getValue())) { // either key does not exist here, or the value is different return false; } } return true; } }
/** * Returns true if this tagmap contains every tag in other. */ public boolean containsAll(TagMap other) { for (Map.Entry<String,Object> entry : other.entrySet()) { Object value = get(entry.getKey()); if (value == null || !value.equals(entry.getValue())) { // either key does not exist here, or the value is different return false; } } return true; } }
/** * Returns true if this tagmap contains every tag in other. */ public boolean containsAll(TagMap other) { for (Map.Entry<String,Object> entry : other.entrySet()) { Object value = get(entry.getKey()); if (value == null || !value.equals(entry.getValue())) { // either key does not exist here, or the value is different return false; } } return true; } }
/** * Returns a tag object which is can be a String, Integer, Short or Byte. * * @return the tag value, or null if there is no such tag */ public Object getTag(String name) { return tagMap.get(name); }
/** * Returns a tag object which is can be a String, Integer, Short or Byte. * * @return the tag value, or null if there is no such tag */ public Object getTag(String name) { return tagMap.get(name); }
/** * Returns a tag object which is can be a String, Integer, Short or Byte. * * @return the tag value, or null if there is no such tag */ public Object getTag(String name) { return tagMap.get(name); }
/** * Returns a tag object which is can be a String, Integer, Short or Byte. * * @return the tag value, or null if there is no such tag */ public Object getTag(String name) { return tagMap.get(name); }
/** * Returns a tag object which is can be a String, Integer, Short or Byte. * * @return the tag value, or null if there is no such tag */ public Object getTag(String name) { return tagMap.get(name); }
/** * Returns a tag object which is can be a String, Integer, Short or Byte. * * @return the tag value, or null if there is no such tag */ public Object getTag(String name) { return tagMap.get(name); }