Class GraphicElements
java.lang.Object
edu.ie3.datamodel.models.input.container.GraphicElements
- All Implemented Interfaces:
InputContainer<GraphicInput>
,Serializable
Represents the accumulation of graphic data elements (node graphics, line graphics)
- See Also:
-
Constructor Summary
ConstructorDescriptionGraphicElements
(Collection<GraphicElements> graphicElements) Combine different already existing containersGraphicElements
(List<GraphicInput> graphics) Create an instance based on a list ofGraphicInput
entities that are included inGraphicElements
GraphicElements
(Set<NodeGraphicInput> nodeGraphics, Set<LineGraphicInput> lineGraphics) -
Method Summary
-
Constructor Details
-
GraphicElements
-
GraphicElements
Combine different already existing containers- Parameters:
graphicElements
- Already existing containers
-
GraphicElements
Create an instance based on a list ofGraphicInput
entities that are included inGraphicElements
- Parameters:
graphics
- list of grid elements this container instance should created from
-
-
Method Details
-
allEntitiesAsList
- Specified by:
allEntitiesAsList
in interfaceInputContainer<GraphicInput>
- Returns:
- unmodifiable List of all entities
-
getNodeGraphics
- Returns:
- unmodifiable Set of all node graphic data for this grid
-
getLineGraphics
- Returns:
- unmodifiable Set of all line graphic data for this grid
-
equals
-
hashCode
public int hashCode()
-