test_class.file: cepheus-broker/src/test/java/com/orange/cepheus/broker/PatternsTest.java
test_class.identifier: PatternsTest
test_case.body: @Test
      public void getPatternWtihNotSamePatternTest() {
          EntityId entityId = new EntityId("A*", "string", true);
          EntityId entityId2 = new EntityId("B*", "string", true);
          Patterns patterns = new Patterns();
          Pattern pattern = patterns.getPattern(entityId);
          assertNotEquals(pattern, patterns.getPattern(entityId2));
      }
test_case.class_method_signature: PatternsTest.getPatternWtihNotSamePatternTest()
test_case.full_signature: @Test public void getPatternWtihNotSamePatternTest()
test_case.identifier: getPatternWtihNotSamePatternTest
test_case.invocations: getPattern assertNotEquals getPattern
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getPatternWtihNotSamePatternTest()
focal_class.declarator: cachedPatterns = new ConcurrentHashMap<>()
focal_class.modifier: private
focal_class.original_string: private Map<String, Pattern> cachedPatterns = new ConcurrentHashMap<>();
focal_class.type: Map<String, Pattern>
focal_class.var_name: cachedPatterns
focal_class.file: cepheus-broker/src/main/java/com/orange/cepheus/broker/Patterns.java
focal_class.identifier: Patterns
focal_class.class_method_signature: Patterns.getPattern(final EntityId entityId)
focal_class.full_signature: public Pattern getPattern(final EntityId entityId)
focal_class.identifier: getPattern
focal_class.modifiers: public
focal_class.parameters: (final EntityId entityId)
focal_class.return: Pattern
focal_class.signature: Pattern getPattern(final EntityId entityId)
focal_class.class_method_signature: Patterns.hasType(final EntityId entityId)
focal_class.full_signature: public boolean hasType(final EntityId entityId)
focal_class.identifier: hasType
focal_class.modifiers: public
focal_class.parameters: (final EntityId entityId)
focal_class.return: boolean
focal_class.signature: boolean hasType(final EntityId entityId)
focal_class.class_method_signature: Patterns.getFilterEntityId(EntityId searchEntityId)
focal_class.full_signature: public Predicate<EntityId> getFilterEntityId(EntityId searchEntityId)
focal_class.identifier: getFilterEntityId
focal_class.modifiers: public
focal_class.parameters: (EntityId searchEntityId)
focal_class.return: Predicate<EntityId>
focal_class.signature: Predicate<EntityId> getFilterEntityId(EntityId searchEntityId)
focal_method.body: public Pattern getPattern(final EntityId entityId) throws PatternSyntaxException {
          if (!entityId.getIsPattern()) {
              return null;
          }
          String id = entityId.getId();
          Pattern pattern = cachedPatterns.get(id);
          if (pattern == null) {
              pattern = Pattern.compile(id);
              cachedPatterns.put(id, pattern);
          }
          return pattern;
      }
focal_method.class_method_signature: Patterns.getPattern(final EntityId entityId)
focal_method.full_signature: public Pattern getPattern(final EntityId entityId)
focal_method.identifier: getPattern
focal_method.invocations: getIsPattern getId get compile put
focal_method.modifiers: public
focal_method.parameters: (final EntityId entityId)
focal_method.return: Pattern
focal_method.signature: Pattern getPattern(final EntityId entityId)