Skip to content

Commit cae1041

Browse files
committed
Removed numberOfElements
1 parent 0008bb1 commit cae1041

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/edu/ie3/datamodel/models/input/container/InputContainer.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,6 @@ public interface InputContainer<T extends InputEntity> extends Serializable {
1515
/** @return unmodifiable List of all entities */
1616
List<T> allEntitiesAsList();
1717

18-
/** Returns number of holded elements in the container. */
19-
default int numberOfElements() {
20-
return allEntitiesAsList().size();
21-
}
22-
2318
/** Returns an input container copy builder */
2419
InputContainerCopyBuilder<T, ? extends InputContainer<T>> copy();
2520

0 commit comments

Comments
 (0)