test_class.file: core/src/test/java/org/apache/abdera/util/EntityTagTest.java
test_class.identifier: EntityTagTest
test_case.body: @Test
      public void testEntityTag() throws Exception {
          String[] tags = {"hello", "\"hello\"", "W/\"hello\"", "*"};
          EntityTag[] etags = new EntityTag[tags.length];
          for (int n = 0; n < tags.length; n++) {
              etags[n] = new EntityTag(tags[n]);
          }
          assertFalse(etags[0].isWeak());
          assertFalse(etags[0].isWild());
          assertFalse(etags[1].isWeak());
          assertFalse(etags[1].isWild());
          assertTrue(etags[2].isWeak());
          assertFalse(etags[2].isWild());
          assertFalse(etags[3].isWeak());
          assertTrue(etags[3].isWild());
          assertEquals("hello", etags[0].getTag());
          assertEquals("hello", etags[1].getTag());
          assertEquals("hello", etags[2].getTag());
          assertEquals("*", etags[3].getTag());
          assertEquals(tags[1], etags[0].toString());
          assertEquals(tags[1], etags[1].toString());
          assertEquals(tags[2], etags[2].toString());
          assertEquals(tags[3], etags[3].toString());
  
          assertTrue(EntityTag.matches(etags[3], etags[0]));
          assertTrue(EntityTag.matches(etags[3], etags[1]));
          assertTrue(EntityTag.matches(etags[3], etags[2]));
          assertTrue(EntityTag.matches(etags[3], etags[3]));
  
          assertTrue(EntityTag.matches(etags[0], etags[1]));
          assertFalse(EntityTag.matches(etags[0], etags[2]));
  
          assertTrue(EntityTag.matchesAny(etags[3], new EntityTag[] {etags[0], etags[1], etags[2]}));
          assertTrue(EntityTag.matchesAny(etags[0], new EntityTag[] {etags[3], etags[1], etags[2]}));
          assertTrue(EntityTag.matchesAny(etags[1], new EntityTag[] {etags[0], etags[3], etags[2]}));
          assertTrue(EntityTag.matchesAny(etags[2], new EntityTag[] {etags[0], etags[1], etags[3]}));
  
          java.util.Arrays.sort(etags);
          assertEquals(tags[3], etags[0].toString());
          assertEquals(tags[1], etags[1].toString());
          assertEquals(tags[1], etags[2].toString());
          assertEquals(tags[2], etags[3].toString());
          EntityTag etag = EntityTag.generate("a", "b", "c", "d");
          assertEquals("\"e2fc714c4727ee9395f324cd2e7f331f\"", etag.toString());
      }
test_case.class_method_signature: EntityTagTest.testEntityTag()
test_case.full_signature: @Test public void testEntityTag()
test_case.identifier: testEntityTag
test_case.invocations: assertFalse isWeak assertFalse isWild assertFalse isWeak assertFalse isWild assertTrue isWeak assertFalse isWild assertFalse isWeak assertTrue isWild assertEquals getTag assertEquals getTag assertEquals getTag assertEquals getTag assertEquals toString assertEquals toString assertEquals toString assertEquals toString assertTrue matches assertTrue matches assertTrue matches assertTrue matches assertTrue matches assertFalse matches assertTrue matchesAny assertTrue matchesAny assertTrue matchesAny assertTrue matchesAny sort assertEquals toString assertEquals toString assertEquals toString assertEquals toString generate assertEquals toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEntityTag()
focal_class.declarator: serialVersionUID = 1559972888659121461L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 1559972888659121461L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.declarator: PATTERN = Pattern.compile("(\\*)|([wW]/)?\"([^\"]*)\"")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern PATTERN = Pattern.compile("(\\*)|([wW]/)?\"([^\"]*)\"");
focal_class.type: Pattern
focal_class.var_name: PATTERN
focal_class.declarator: INVALID_ENTITY_TAG = Localizer.get("INVALID.ENTITY.TAG")
focal_class.modifier: private static final
focal_class.original_string: private static final String INVALID_ENTITY_TAG = Localizer.get("INVALID.ENTITY.TAG");
focal_class.type: String
focal_class.var_name: INVALID_ENTITY_TAG
focal_class.declarator: WILD = new EntityTag("*")
focal_class.modifier: public static final
focal_class.original_string: public static final EntityTag WILD = new EntityTag("*");
focal_class.type: EntityTag
focal_class.var_name: WILD
focal_class.declarator: tag
focal_class.modifier: private final
focal_class.original_string: private final String tag;
focal_class.type: String
focal_class.var_name: tag
focal_class.declarator: weak
focal_class.modifier: private final
focal_class.original_string: private final boolean weak;
focal_class.type: boolean
focal_class.var_name: weak
focal_class.declarator: wild
focal_class.modifier: private final
focal_class.original_string: private final boolean wild;
focal_class.type: boolean
focal_class.var_name: wild
focal_class.file: core/src/main/java/org/apache/abdera/util/EntityTag.java
focal_class.identifier: EntityTag
focal_class.interfaces: implements Cloneable, Serializable, Comparable<EntityTag>
focal_class.class_method_signature: EntityTag.parse(String entity_tag)
focal_class.full_signature: public static EntityTag parse(String entity_tag)
focal_class.identifier: parse
focal_class.modifiers: public static
focal_class.parameters: (String entity_tag)
focal_class.return: EntityTag
focal_class.signature: EntityTag parse(String entity_tag)
focal_class.class_method_signature: EntityTag.parseTags(String entity_tags)
focal_class.full_signature: public static EntityTag[] parseTags(String entity_tags)
focal_class.identifier: parseTags
focal_class.modifiers: public static
focal_class.parameters: (String entity_tags)
focal_class.return: EntityTag[]
focal_class.signature: EntityTag[] parseTags(String entity_tags)
focal_class.class_method_signature: EntityTag.matchesAny(EntityTag tag1, String tags)
focal_class.full_signature: public static boolean matchesAny(EntityTag tag1, String tags)
focal_class.identifier: matchesAny
focal_class.modifiers: public static
focal_class.parameters: (EntityTag tag1, String tags)
focal_class.return: boolean
focal_class.signature: boolean matchesAny(EntityTag tag1, String tags)
focal_class.class_method_signature: EntityTag.matchesAny(EntityTag tag1, String tags, boolean weak)
focal_class.full_signature: public static boolean matchesAny(EntityTag tag1, String tags, boolean weak)
focal_class.identifier: matchesAny
focal_class.modifiers: public static
focal_class.parameters: (EntityTag tag1, String tags, boolean weak)
focal_class.return: boolean
focal_class.signature: boolean matchesAny(EntityTag tag1, String tags, boolean weak)
focal_class.class_method_signature: EntityTag.matchesAny(String tag1, String tags)
focal_class.full_signature: public static boolean matchesAny(String tag1, String tags)
focal_class.identifier: matchesAny
focal_class.modifiers: public static
focal_class.parameters: (String tag1, String tags)
focal_class.return: boolean
focal_class.signature: boolean matchesAny(String tag1, String tags)
focal_class.class_method_signature: EntityTag.matchesAny(String tag1, String tags, boolean weak)
focal_class.full_signature: public static boolean matchesAny(String tag1, String tags, boolean weak)
focal_class.identifier: matchesAny
focal_class.modifiers: public static
focal_class.parameters: (String tag1, String tags, boolean weak)
focal_class.return: boolean
focal_class.signature: boolean matchesAny(String tag1, String tags, boolean weak)
focal_class.class_method_signature: EntityTag.matchesAny(EntityTag tag1, EntityTag[] tags)
focal_class.full_signature: public static boolean matchesAny(EntityTag tag1, EntityTag[] tags)
focal_class.identifier: matchesAny
focal_class.modifiers: public static
focal_class.parameters: (EntityTag tag1, EntityTag[] tags)
focal_class.return: boolean
focal_class.signature: boolean matchesAny(EntityTag tag1, EntityTag[] tags)
focal_class.class_method_signature: EntityTag.matchesAny(EntityTag tag1, EntityTag[] tags, boolean weak)
focal_class.full_signature: public static boolean matchesAny(EntityTag tag1, EntityTag[] tags, boolean weak)
focal_class.identifier: matchesAny
focal_class.modifiers: public static
focal_class.parameters: (EntityTag tag1, EntityTag[] tags, boolean weak)
focal_class.return: boolean
focal_class.signature: boolean matchesAny(EntityTag tag1, EntityTag[] tags, boolean weak)
focal_class.class_method_signature: EntityTag.matches(EntityTag tag1, EntityTag tag2)
focal_class.full_signature: public static boolean matches(EntityTag tag1, EntityTag tag2)
focal_class.identifier: matches
focal_class.modifiers: public static
focal_class.parameters: (EntityTag tag1, EntityTag tag2)
focal_class.return: boolean
focal_class.signature: boolean matches(EntityTag tag1, EntityTag tag2)
focal_class.class_method_signature: EntityTag.matches(String tag1, String tag2)
focal_class.full_signature: public static boolean matches(String tag1, String tag2)
focal_class.identifier: matches
focal_class.modifiers: public static
focal_class.parameters: (String tag1, String tag2)
focal_class.return: boolean
focal_class.signature: boolean matches(String tag1, String tag2)
focal_class.class_method_signature: EntityTag.matches(EntityTag tag1, String tag2)
focal_class.full_signature: public static boolean matches(EntityTag tag1, String tag2)
focal_class.identifier: matches
focal_class.modifiers: public static
focal_class.parameters: (EntityTag tag1, String tag2)
focal_class.return: boolean
focal_class.signature: boolean matches(EntityTag tag1, String tag2)
focal_class.class_method_signature: EntityTag.EntityTag(String tag)
focal_class.full_signature: public  EntityTag(String tag)
focal_class.identifier: EntityTag
focal_class.modifiers: public
focal_class.parameters: (String tag)
focal_class.signature:  EntityTag(String tag)
focal_class.class_method_signature: EntityTag.EntityTag(String tag, boolean weak)
focal_class.full_signature: public  EntityTag(String tag, boolean weak)
focal_class.identifier: EntityTag
focal_class.modifiers: public
focal_class.parameters: (String tag, boolean weak)
focal_class.signature:  EntityTag(String tag, boolean weak)
focal_class.class_method_signature: EntityTag.EntityTag(String tag, boolean weak, boolean wild)
focal_class.full_signature: private  EntityTag(String tag, boolean weak, boolean wild)
focal_class.identifier: EntityTag
focal_class.modifiers: private
focal_class.parameters: (String tag, boolean weak, boolean wild)
focal_class.signature:  EntityTag(String tag, boolean weak, boolean wild)
focal_class.class_method_signature: EntityTag.attemptParse(String tag)
focal_class.full_signature: private EntityTag attemptParse(String tag)
focal_class.identifier: attemptParse
focal_class.modifiers: private
focal_class.parameters: (String tag)
focal_class.return: EntityTag
focal_class.signature: EntityTag attemptParse(String tag)
focal_class.class_method_signature: EntityTag.isWild()
focal_class.full_signature: public boolean isWild()
focal_class.identifier: isWild
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isWild()
focal_class.class_method_signature: EntityTag.getTag()
focal_class.full_signature: public String getTag()
focal_class.identifier: getTag
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTag()
focal_class.class_method_signature: EntityTag.isWeak()
focal_class.full_signature: public boolean isWeak()
focal_class.identifier: isWeak
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isWeak()
focal_class.class_method_signature: EntityTag.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: EntityTag.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: EntityTag.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: EntityTag.clone()
focal_class.full_signature: @Override protected EntityTag clone()
focal_class.identifier: clone
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: EntityTag
focal_class.signature: EntityTag clone()
focal_class.class_method_signature: EntityTag.generate(String... material)
focal_class.full_signature: public static EntityTag generate(String... material)
focal_class.identifier: generate
focal_class.modifiers: public static
focal_class.parameters: (String... material)
focal_class.return: EntityTag
focal_class.signature: EntityTag generate(String... material)
focal_class.class_method_signature: EntityTag.matches(EntityTag etag, String... material)
focal_class.full_signature: public static boolean matches(EntityTag etag, String... material)
focal_class.identifier: matches
focal_class.modifiers: public static
focal_class.parameters: (EntityTag etag, String... material)
focal_class.return: boolean
focal_class.signature: boolean matches(EntityTag etag, String... material)
focal_class.class_method_signature: EntityTag.toString(EntityTag... tags)
focal_class.full_signature: public static String toString(EntityTag... tags)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (EntityTag... tags)
focal_class.return: String
focal_class.signature: String toString(EntityTag... tags)
focal_class.class_method_signature: EntityTag.toString(String... tags)
focal_class.full_signature: public static String toString(String... tags)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (String... tags)
focal_class.return: String
focal_class.signature: String toString(String... tags)
focal_class.class_method_signature: EntityTag.compareTo(EntityTag o)
focal_class.full_signature: public int compareTo(EntityTag o)
focal_class.identifier: compareTo
focal_class.modifiers: public
focal_class.parameters: (EntityTag o)
focal_class.return: int
focal_class.signature: int compareTo(EntityTag o)
focal_method.body: public EntityTag(String tag) {
          this(tag, false);
      }
focal_method.class_method_signature: EntityTag.EntityTag(String tag)
focal_method.full_signature: public  EntityTag(String tag)
focal_method.identifier: EntityTag
focal_method.modifiers: public
focal_method.parameters: (String tag)
focal_method.signature:  EntityTag(String tag)