Package com.floragunn.fluent.collections
Class CheckList.TwoElementCheckList<E>
- java.lang.Object
-
- com.floragunn.fluent.collections.CheckList.TwoElementCheckList<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.floragunn.fluent.collections.CheckList
CheckList.BasicCheckList<E>, CheckList.TwoElementCheckList<E>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(E element)voidcheckAll()voidcheckFrom(CheckList<E> other)booleancheckIf(Predicate<E> checkPredicate)ImmutableSet<E>getCheckedElements()ImmutableSet<E>getElements()ImmutableSet<E>getUncheckedElements()CheckList<E>getView(ImmutableSet<E> elementSubSet)CheckList<E>getView(Predicate<E> predicate)booleanisBlank()booleanisChecked(E element)booleanisComplete()Iterable<E>iterateCheckedElements()Iterable<E>iterateUncheckedElements()intsize()voiduncheck(E element)voiduncheckAll()voiduncheckIf(Predicate<E> checkPredicate)voiduncheckIfPresent(E element)CheckList<E>with(CheckList<E> other)
-
-
-
Method Detail
-
uncheckIfPresent
public void uncheckIfPresent(E element)
- Specified by:
uncheckIfPresentin interfaceCheckList<E>
-
uncheckAll
public void uncheckAll()
- Specified by:
uncheckAllin interfaceCheckList<E>
-
isComplete
public boolean isComplete()
- Specified by:
isCompletein interfaceCheckList<E>
-
getElements
public ImmutableSet<E> getElements()
- Specified by:
getElementsin interfaceCheckList<E>
-
getCheckedElements
public ImmutableSet<E> getCheckedElements()
- Specified by:
getCheckedElementsin interfaceCheckList<E>
-
getUncheckedElements
public ImmutableSet<E> getUncheckedElements()
- Specified by:
getUncheckedElementsin interfaceCheckList<E>
-
iterateCheckedElements
public Iterable<E> iterateCheckedElements()
- Specified by:
iterateCheckedElementsin interfaceCheckList<E>
-
iterateUncheckedElements
public Iterable<E> iterateUncheckedElements()
- Specified by:
iterateUncheckedElementsin interfaceCheckList<E>
-
getView
public CheckList<E> getView(ImmutableSet<E> elementSubSet)
-
-