Gets the index of a child @param child The child @return the index of the child
(final Object child)
| 2855 | * @return the index of the child |
| 2856 | */ |
| 2857 | private int indexOfChild(final Object child) |
| 2858 | { |
| 2859 | if (!(child instanceof Equipment)) |
| 2860 | { |
| 2861 | return -1; |
| 2862 | } |
| 2863 | |
| 2864 | return getContainedEquipmentIndexOf((Equipment) child); |
| 2865 | } |
| 2866 | |
| 2867 | /** |
| 2868 | * Adds a child to this Equipment |
no test coverage detected