Class StyleElementList
java.lang.Object
org.openstreetmap.josm.gui.mappaint.StyleElementList
- All Implemented Interfaces:
Iterable<StyleElement>
List of
StyleElements, immutable.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newStyleList.Create a new List of style elementsStyleElementList(StyleElement... init) Create a new List of style elementsCreate a new List of style elements -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
lst
-
-
Constructor Details
-
StyleElementList
public StyleElementList()Constructs a newStyleList. -
StyleElementList
Create a new List of style elements- Parameters:
init- The list
-
StyleElementList
Create a new List of style elements- Parameters:
sl- The list
-
StyleElementList
Create a new List of style elements- Parameters:
sl- The lists- An item to merge to the list
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<StyleElement>
-
isEmpty
Check if the list is empty- Returns:
trueif it is empty
-
size
Get the list size- Returns:
- The list size
-
toString
-
equals
-
hashCode
-