Package org.luwrain.controls
Class MutableLinesImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<String>
,Collection<String>
,List<String>
,RandomAccess
,Lines
,MutableLines
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.luwrain.core.MutableLines
MutableLines.Updating
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getLine
(int index) int
String[]
getLines()
getWholeText
(String lineSep) void
insertLine
(int index, String line) void
removeLine
(int index) void
void
void
update
(MutableLines.Updating updating) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
Methods inherited from interface org.luwrain.core.MutableLines
clear
-
Constructor Details
-
MutableLinesImpl
public MutableLinesImpl() -
MutableLinesImpl
-
-
Method Details
-
update
- Specified by:
update
in interfaceMutableLines
-
getLineCount
public int getLineCount()- Specified by:
getLineCount
in interfaceLines
-
getLine
-
setLines
- Specified by:
setLines
in interfaceMutableLines
-
getLines
- Specified by:
getLines
in interfaceMutableLines
-
setLine
- Specified by:
setLine
in interfaceMutableLines
-
addLine
- Specified by:
addLine
in interfaceMutableLines
-
insertLine
- Specified by:
insertLine
in interfaceMutableLines
-
removeLine
public void removeLine(int index) - Specified by:
removeLine
in interfaceMutableLines
-
getWholeText
-
getWholeText
-