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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetLine(int index) intString[]getLines()getWholeText(String lineSep) voidinsertLine(int index, String line) voidremoveLine(int index) voidvoidvoidupdate(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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAllMethods inherited from interface org.luwrain.core.MutableLines
clear
-
Constructor Details
-
MutableLinesImpl
public MutableLinesImpl() -
MutableLinesImpl
-
-
Method Details
-
update
- Specified by:
updatein interfaceMutableLines
-
getLineCount
public int getLineCount()- Specified by:
getLineCountin interfaceLines
-
getLine
-
setLines
- Specified by:
setLinesin interfaceMutableLines
-
getLines
- Specified by:
getLinesin interfaceMutableLines
-
setLine
- Specified by:
setLinein interfaceMutableLines
-
addLine
- Specified by:
addLinein interfaceMutableLines
-
insertLine
- Specified by:
insertLinein interfaceMutableLines
-
removeLine
public void removeLine(int index) - Specified by:
removeLinein interfaceMutableLines
-
getWholeText
-
getWholeText
-