Package org.plumelib.util
Class CollectionsPlume.Replacement<T>
java.lang.Object
org.plumelib.util.CollectionsPlume.Replacement<T>
- Type Parameters:
T
- the type of collection elements
- Enclosing class:
- CollectionsPlume
Represents a replacement of one range of a collection by another collection.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> CollectionsPlume.Replacement<T>
of
(int start, int end, Collection<T> elements) Creates a new Replacement.toString()
-
Field Details
-
start
public final int startThe first line to replace, inclusive. -
end
public final int endThe last line to replace, inclusive. May be equal tostart
-1.
-
-
Method Details