test_class.file: gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelperTest.java
test_class.identifier: ElementHelperTest
test_case.body: @Test
      public void shouldFailPropertyAreEqualTestBecauseFirstArgumentIsNull() {
          try {
              ElementHelper.areEqual((Property) null, "some object");
              fail("Should throw exception since the first argument is null");
          } catch (IllegalArgumentException iae) {
              assertEquals(Graph.Exceptions.argumentCanNotBeNull("a").getMessage(), iae.getMessage());
          }
      }
test_case.class_method_signature: ElementHelperTest.shouldFailPropertyAreEqualTestBecauseFirstArgumentIsNull()
test_case.full_signature: @Test public void shouldFailPropertyAreEqualTestBecauseFirstArgumentIsNull()
test_case.identifier: shouldFailPropertyAreEqualTestBecauseFirstArgumentIsNull
test_case.invocations: areEqual fail assertEquals getMessage argumentCanNotBeNull getMessage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldFailPropertyAreEqualTestBecauseFirstArgumentIsNull()
focal_class.file: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java
focal_class.identifier: ElementHelper
focal_class.class_method_signature: ElementHelper.ElementHelper()
focal_class.full_signature: private  ElementHelper()
focal_class.identifier: ElementHelper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ElementHelper()
focal_class.class_method_signature: ElementHelper.validateLabel(final String label)
focal_class.full_signature: public static void validateLabel(final String label)
focal_class.identifier: validateLabel
focal_class.modifiers: public static
focal_class.parameters: (final String label)
focal_class.return: void
focal_class.signature: void validateLabel(final String label)
focal_class.class_method_signature: ElementHelper.validateMixedElementIds(final Class<? extends Element> clazz, final Object... ids)
focal_class.full_signature: public static void validateMixedElementIds(final Class<? extends Element> clazz, final Object... ids)
focal_class.identifier: validateMixedElementIds
focal_class.modifiers: public static
focal_class.parameters: (final Class<? extends Element> clazz, final Object... ids)
focal_class.return: void
focal_class.signature: void validateMixedElementIds(final Class<? extends Element> clazz, final Object... ids)
focal_class.class_method_signature: ElementHelper.validateProperty(final String key, final Object value)
focal_class.full_signature: public static void validateProperty(final String key, final Object value)
focal_class.identifier: validateProperty
focal_class.modifiers: public static
focal_class.parameters: (final String key, final Object value)
focal_class.return: void
focal_class.signature: void validateProperty(final String key, final Object value)
focal_class.class_method_signature: ElementHelper.legalPropertyKeyValueArray(final Object... propertyKeyValues)
focal_class.full_signature: public static void legalPropertyKeyValueArray(final Object... propertyKeyValues)
focal_class.identifier: legalPropertyKeyValueArray
focal_class.modifiers: public static
focal_class.parameters: (final Object... propertyKeyValues)
focal_class.return: void
focal_class.signature: void legalPropertyKeyValueArray(final Object... propertyKeyValues)
focal_class.class_method_signature: ElementHelper.getIdValue(final Object... keyValues)
focal_class.full_signature: public static Optional<Object> getIdValue(final Object... keyValues)
focal_class.identifier: getIdValue
focal_class.modifiers: public static
focal_class.parameters: (final Object... keyValues)
focal_class.return: Optional<Object>
focal_class.signature: Optional<Object> getIdValue(final Object... keyValues)
focal_class.class_method_signature: ElementHelper.remove(final String keyToRemove, final Object... keyValues)
focal_class.full_signature: public static Optional<Object[]> remove(final String keyToRemove, final Object... keyValues)
focal_class.identifier: remove
focal_class.modifiers: public static
focal_class.parameters: (final String keyToRemove, final Object... keyValues)
focal_class.return: Optional<Object[]>
focal_class.signature: Optional<Object[]> remove(final String keyToRemove, final Object... keyValues)
focal_class.class_method_signature: ElementHelper.remove(final T accessor, final Object... keyValues)
focal_class.full_signature: public static Optional<Object[]> remove(final T accessor, final Object... keyValues)
focal_class.identifier: remove
focal_class.modifiers: public static
focal_class.parameters: (final T accessor, final Object... keyValues)
focal_class.return: Optional<Object[]>
focal_class.signature: Optional<Object[]> remove(final T accessor, final Object... keyValues)
focal_class.class_method_signature: ElementHelper.remove(final Object keyToRemove, final Object... keyValues)
focal_class.full_signature: private static Optional<Object[]> remove(final Object keyToRemove, final Object... keyValues)
focal_class.identifier: remove
focal_class.modifiers: private static
focal_class.parameters: (final Object keyToRemove, final Object... keyValues)
focal_class.return: Optional<Object[]>
focal_class.signature: Optional<Object[]> remove(final Object keyToRemove, final Object... keyValues)
focal_class.class_method_signature: ElementHelper.upsert(final Object[] keyValues, final Object key, final Object val)
focal_class.full_signature: public static Object[] upsert(final Object[] keyValues, final Object key, final Object val)
focal_class.identifier: upsert
focal_class.modifiers: public static
focal_class.parameters: (final Object[] keyValues, final Object key, final Object val)
focal_class.return: Object[]
focal_class.signature: Object[] upsert(final Object[] keyValues, final Object key, final Object val)
focal_class.class_method_signature: ElementHelper.replaceKey(final Object[] keyValues, final Object oldKey, final Object newKey)
focal_class.full_signature: public static Object[] replaceKey(final Object[] keyValues, final Object oldKey, final Object newKey)
focal_class.identifier: replaceKey
focal_class.modifiers: public static
focal_class.parameters: (final Object[] keyValues, final Object oldKey, final Object newKey)
focal_class.return: Object[]
focal_class.signature: Object[] replaceKey(final Object[] keyValues, final Object oldKey, final Object newKey)
focal_class.class_method_signature: ElementHelper.asMap(final Object... keyValues)
focal_class.full_signature: public static Map<String, Object> asMap(final Object... keyValues)
focal_class.identifier: asMap
focal_class.modifiers: public static
focal_class.parameters: (final Object... keyValues)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> asMap(final Object... keyValues)
focal_class.class_method_signature: ElementHelper.asPairs(final Object... keyValues)
focal_class.full_signature: public static List<Pair<String, Object>> asPairs(final Object... keyValues)
focal_class.identifier: asPairs
focal_class.modifiers: public static
focal_class.parameters: (final Object... keyValues)
focal_class.return: List<Pair<String, Object>>
focal_class.signature: List<Pair<String, Object>> asPairs(final Object... keyValues)
focal_class.class_method_signature: ElementHelper.getKeys(final Object... keyValues)
focal_class.full_signature: public static Set<String> getKeys(final Object... keyValues)
focal_class.identifier: getKeys
focal_class.modifiers: public static
focal_class.parameters: (final Object... keyValues)
focal_class.return: Set<String>
focal_class.signature: Set<String> getKeys(final Object... keyValues)
focal_class.class_method_signature: ElementHelper.getLabelValue(final Object... keyValues)
focal_class.full_signature: public static Optional<String> getLabelValue(final Object... keyValues)
focal_class.identifier: getLabelValue
focal_class.modifiers: public static
focal_class.parameters: (final Object... keyValues)
focal_class.return: Optional<String>
focal_class.signature: Optional<String> getLabelValue(final Object... keyValues)
focal_class.class_method_signature: ElementHelper.attachProperties(final Element element, final Object... propertyKeyValues)
focal_class.full_signature: public static void attachProperties(final Element element, final Object... propertyKeyValues)
focal_class.identifier: attachProperties
focal_class.modifiers: public static
focal_class.parameters: (final Element element, final Object... propertyKeyValues)
focal_class.return: void
focal_class.signature: void attachProperties(final Element element, final Object... propertyKeyValues)
focal_class.class_method_signature: ElementHelper.attachProperties(final Vertex vertex, final Object... propertyKeyValues)
focal_class.full_signature: public static void attachProperties(final Vertex vertex, final Object... propertyKeyValues)
focal_class.identifier: attachProperties
focal_class.modifiers: public static
focal_class.parameters: (final Vertex vertex, final Object... propertyKeyValues)
focal_class.return: void
focal_class.signature: void attachProperties(final Vertex vertex, final Object... propertyKeyValues)
focal_class.class_method_signature: ElementHelper.attachProperties(final Vertex vertex, final VertexProperty.Cardinality cardinality, final Object... propertyKeyValues)
focal_class.full_signature: public static void attachProperties(final Vertex vertex, final VertexProperty.Cardinality cardinality, final Object... propertyKeyValues)
focal_class.identifier: attachProperties
focal_class.modifiers: public static
focal_class.parameters: (final Vertex vertex, final VertexProperty.Cardinality cardinality, final Object... propertyKeyValues)
focal_class.return: void
focal_class.signature: void attachProperties(final Vertex vertex, final VertexProperty.Cardinality cardinality, final Object... propertyKeyValues)
focal_class.class_method_signature: ElementHelper.stageVertexProperty(final Vertex vertex, final VertexProperty.Cardinality cardinality, final String key, final V value, final Object... keyValues)
focal_class.full_signature: public static Optional<VertexProperty<V>> stageVertexProperty(final Vertex vertex, final VertexProperty.Cardinality cardinality, final String key, final V value, final Object... keyValues)
focal_class.identifier: stageVertexProperty
focal_class.modifiers: public static
focal_class.parameters: (final Vertex vertex, final VertexProperty.Cardinality cardinality, final String key, final V value, final Object... keyValues)
focal_class.return: Optional<VertexProperty<V>>
focal_class.signature: Optional<VertexProperty<V>> stageVertexProperty(final Vertex vertex, final VertexProperty.Cardinality cardinality, final String key, final V value, final Object... keyValues)
focal_class.class_method_signature: ElementHelper.getProperties(final Element element, final boolean includeId, final boolean includeLabel, final Set<String> propertiesToCopy)
focal_class.full_signature: public static Object[] getProperties(final Element element, final boolean includeId, final boolean includeLabel, final Set<String> propertiesToCopy)
focal_class.identifier: getProperties
focal_class.modifiers: public static
focal_class.parameters: (final Element element, final boolean includeId, final boolean includeLabel, final Set<String> propertiesToCopy)
focal_class.return: Object[]
focal_class.signature: Object[] getProperties(final Element element, final boolean includeId, final boolean includeLabel, final Set<String> propertiesToCopy)
focal_class.class_method_signature: ElementHelper.areEqual(final Element a, final Object b)
focal_class.full_signature: public static boolean areEqual(final Element a, final Object b)
focal_class.identifier: areEqual
focal_class.modifiers: public static
focal_class.parameters: (final Element a, final Object b)
focal_class.return: boolean
focal_class.signature: boolean areEqual(final Element a, final Object b)
focal_class.class_method_signature: ElementHelper.areEqual(final Vertex a, final Vertex b)
focal_class.full_signature: public static boolean areEqual(final Vertex a, final Vertex b)
focal_class.identifier: areEqual
focal_class.modifiers: public static
focal_class.parameters: (final Vertex a, final Vertex b)
focal_class.return: boolean
focal_class.signature: boolean areEqual(final Vertex a, final Vertex b)
focal_class.class_method_signature: ElementHelper.areEqual(final Edge a, final Edge b)
focal_class.full_signature: public static boolean areEqual(final Edge a, final Edge b)
focal_class.identifier: areEqual
focal_class.modifiers: public static
focal_class.parameters: (final Edge a, final Edge b)
focal_class.return: boolean
focal_class.signature: boolean areEqual(final Edge a, final Edge b)
focal_class.class_method_signature: ElementHelper.areEqual(final VertexProperty a, final VertexProperty b)
focal_class.full_signature: public static boolean areEqual(final VertexProperty a, final VertexProperty b)
focal_class.identifier: areEqual
focal_class.modifiers: public static
focal_class.parameters: (final VertexProperty a, final VertexProperty b)
focal_class.return: boolean
focal_class.signature: boolean areEqual(final VertexProperty a, final VertexProperty b)
focal_class.class_method_signature: ElementHelper.areEqual(final VertexProperty a, final Object b)
focal_class.full_signature: public static boolean areEqual(final VertexProperty a, final Object b)
focal_class.identifier: areEqual
focal_class.modifiers: public static
focal_class.parameters: (final VertexProperty a, final Object b)
focal_class.return: boolean
focal_class.signature: boolean areEqual(final VertexProperty a, final Object b)
focal_class.class_method_signature: ElementHelper.haveEqualIds(final Element a, final Element b)
focal_class.full_signature: public static boolean haveEqualIds(final Element a, final Element b)
focal_class.identifier: haveEqualIds
focal_class.modifiers: public static
focal_class.parameters: (final Element a, final Element b)
focal_class.return: boolean
focal_class.signature: boolean haveEqualIds(final Element a, final Element b)
focal_class.class_method_signature: ElementHelper.hashCode(final Element element)
focal_class.full_signature: public static int hashCode(final Element element)
focal_class.identifier: hashCode
focal_class.modifiers: public static
focal_class.parameters: (final Element element)
focal_class.return: int
focal_class.signature: int hashCode(final Element element)
focal_class.class_method_signature: ElementHelper.hashCode(final Property property)
focal_class.full_signature: public static int hashCode(final Property property)
focal_class.identifier: hashCode
focal_class.modifiers: public static
focal_class.parameters: (final Property property)
focal_class.return: int
focal_class.signature: int hashCode(final Property property)
focal_class.class_method_signature: ElementHelper.areEqual(final Property a, final Object b)
focal_class.full_signature: public static boolean areEqual(final Property a, final Object b)
focal_class.identifier: areEqual
focal_class.modifiers: public static
focal_class.parameters: (final Property a, final Object b)
focal_class.return: boolean
focal_class.signature: boolean areEqual(final Property a, final Object b)
focal_class.class_method_signature: ElementHelper.propertyValueMap(final Element element, final String... propertyKeys)
focal_class.full_signature: public static Map<String, Object> propertyValueMap(final Element element, final String... propertyKeys)
focal_class.identifier: propertyValueMap
focal_class.modifiers: public static
focal_class.parameters: (final Element element, final String... propertyKeys)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> propertyValueMap(final Element element, final String... propertyKeys)
focal_class.class_method_signature: ElementHelper.propertyMap(final Element element, final String... propertyKeys)
focal_class.full_signature: public static Map<String, Property> propertyMap(final Element element, final String... propertyKeys)
focal_class.identifier: propertyMap
focal_class.modifiers: public static
focal_class.parameters: (final Element element, final String... propertyKeys)
focal_class.return: Map<String, Property>
focal_class.signature: Map<String, Property> propertyMap(final Element element, final String... propertyKeys)
focal_class.class_method_signature: ElementHelper.vertexPropertyValueMap(final Vertex vertex, final String... propertyKeys)
focal_class.full_signature: public static Map<String, List> vertexPropertyValueMap(final Vertex vertex, final String... propertyKeys)
focal_class.identifier: vertexPropertyValueMap
focal_class.modifiers: public static
focal_class.parameters: (final Vertex vertex, final String... propertyKeys)
focal_class.return: Map<String, List>
focal_class.signature: Map<String, List> vertexPropertyValueMap(final Vertex vertex, final String... propertyKeys)
focal_class.class_method_signature: ElementHelper.vertexPropertyMap(final Vertex vertex, final String... propertyKeys)
focal_class.full_signature: public static Map<String, List<VertexProperty>> vertexPropertyMap(final Vertex vertex, final String... propertyKeys)
focal_class.identifier: vertexPropertyMap
focal_class.modifiers: public static
focal_class.parameters: (final Vertex vertex, final String... propertyKeys)
focal_class.return: Map<String, List<VertexProperty>>
focal_class.signature: Map<String, List<VertexProperty>> vertexPropertyMap(final Vertex vertex, final String... propertyKeys)
focal_class.class_method_signature: ElementHelper.keyExists(final String key, final String... providedKeys)
focal_class.full_signature: public static boolean keyExists(final String key, final String... providedKeys)
focal_class.identifier: keyExists
focal_class.modifiers: public static
focal_class.parameters: (final String key, final String... providedKeys)
focal_class.return: boolean
focal_class.signature: boolean keyExists(final String key, final String... providedKeys)
focal_class.class_method_signature: ElementHelper.idExists(final Object id, final Object... providedIds)
focal_class.full_signature: public static boolean idExists(final Object id, final Object... providedIds)
focal_class.identifier: idExists
focal_class.modifiers: public static
focal_class.parameters: (final Object id, final Object... providedIds)
focal_class.return: boolean
focal_class.signature: boolean idExists(final Object id, final Object... providedIds)
focal_method.body: public static boolean areEqual(final Element a, final Object b) {
          if (null == b || null == a)
              return false;
  
          if (a == b)
              return true;
          if (!((a instanceof Vertex && b instanceof Vertex) ||
                  (a instanceof Edge && b instanceof Edge) ||
                  (a instanceof VertexProperty && b instanceof VertexProperty)))
              return false;
          return haveEqualIds(a, (Element) b);
      }
focal_method.class_method_signature: ElementHelper.areEqual(final Element a, final Object b)
focal_method.full_signature: public static boolean areEqual(final Element a, final Object b)
focal_method.identifier: areEqual
focal_method.invocations: haveEqualIds
focal_method.modifiers: public static
focal_method.parameters: (final Element a, final Object b)
focal_method.return: boolean
focal_method.signature: boolean areEqual(final Element a, final Object b)