public class FragmentListImpl extends java.lang.Object implements FragmentList
EMPTY
Modifier and Type | Method and Description |
---|---|
static <T extends Fragment> |
fromList(java.util.ArrayList<T> fragments) |
Fragment |
getFragmentAt(int offset,
FragmentSide side,
Condition<? super Fragment> condition) |
boolean |
isEmpty() |
java.util.Iterator<Fragment> |
iterator() |
static java.util.ArrayList<Fragment> |
shift(java.util.ArrayList<? extends Fragment> fragments,
TextRange rangeShift1,
TextRange rangeShift2,
int startLine1,
int startLine2) |
FragmentList |
shift(TextRange rangeShift1,
TextRange rangeShift2,
int startLine1,
int startLine2) |
public static <T extends Fragment> FragmentList fromList(java.util.ArrayList<T> fragments)
public FragmentList shift(TextRange rangeShift1, TextRange rangeShift2, int startLine1, int startLine2)
shift
in interface FragmentList
public boolean isEmpty()
isEmpty
in interface FragmentList
public java.util.Iterator<Fragment> iterator()
iterator
in interface FragmentList
public Fragment getFragmentAt(int offset, FragmentSide side, Condition<? super Fragment> condition)
getFragmentAt
in interface FragmentList