Package org.apache.felix.resolver.util
Class CandidateSelector
java.lang.Object
org.apache.felix.resolver.util.CandidateSelector
- Direct Known Subclasses:
ShadowList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprotected final AtomicBooleanprotected final List<org.osgi.resource.Capability> -
Constructor Summary
ConstructorsModifierConstructorDescriptionCandidateSelector(List<org.osgi.resource.Capability> candidates, AtomicBoolean isUnmodifiable) protectedCandidateSelector(CandidateSelector candidateSelector) -
Method Summary
-
Field Details
-
isUnmodifiable
-
unmodifiable
-
currentIndex
private int currentIndex
-
-
Constructor Details
-
CandidateSelector
public CandidateSelector(List<org.osgi.resource.Capability> candidates, AtomicBoolean isUnmodifiable) -
CandidateSelector
-
-
Method Details
-
copy
-
getRemainingCandidateCount
public int getRemainingCandidateCount() -
getCurrentCandidate
public org.osgi.resource.Capability getCurrentCandidate() -
getRemainingCandidates
-
isEmpty
public boolean isEmpty() -
removeCurrentCandidate
public org.osgi.resource.Capability removeCurrentCandidate() -
toString
-
remove
public int remove(org.osgi.resource.Capability cap) -
checkModifiable
protected void checkModifiable()
-