Package com.cosium.code.format.formatter
Class LineRanges
- java.lang.Object
-
- com.cosium.code.format.formatter.LineRanges
-
public class LineRanges extends Object
- Author:
- Réda Housni Alaoui
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LineRangesall()static LineRangesconcat(LineRanges lineRanges1, LineRanges lineRanges2)booleanisAll()static LineRangesof(Set<com.google.common.collect.Range<Integer>> ranges)com.google.common.collect.RangeSet<Integer>rangeSet()static LineRangessingleton(com.google.common.collect.Range<Integer> range)StringtoString()
-
-
-
Method Detail
-
all
public static LineRanges all()
-
of
public static LineRanges of(Set<com.google.common.collect.Range<Integer>> ranges)
-
singleton
public static LineRanges singleton(com.google.common.collect.Range<Integer> range)
-
isAll
public boolean isAll()
-
rangeSet
public com.google.common.collect.RangeSet<Integer> rangeSet()
-
concat
public static LineRanges concat(LineRanges lineRanges1, LineRanges lineRanges2)
-
-