Class CandidateSelector

java.lang.Object
org.apache.felix.resolver.util.CandidateSelector
Direct Known Subclasses:
ShadowList

public class CandidateSelector extends Object
  • Field Details

    • isUnmodifiable

      protected final AtomicBoolean isUnmodifiable
    • unmodifiable

      protected final List<org.osgi.resource.Capability> unmodifiable
    • currentIndex

      private int currentIndex
  • Constructor Details

    • CandidateSelector

      public CandidateSelector(List<org.osgi.resource.Capability> candidates, AtomicBoolean isUnmodifiable)
    • CandidateSelector

      protected CandidateSelector(CandidateSelector candidateSelector)
  • Method Details

    • copy

      public CandidateSelector copy()
    • getRemainingCandidateCount

      public int getRemainingCandidateCount()
    • getCurrentCandidate

      public org.osgi.resource.Capability getCurrentCandidate()
    • getRemainingCandidates

      public List<org.osgi.resource.Capability> getRemainingCandidates()
    • isEmpty

      public boolean isEmpty()
    • removeCurrentCandidate

      public org.osgi.resource.Capability removeCurrentCandidate()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • remove

      public int remove(org.osgi.resource.Capability cap)
    • checkModifiable

      protected void checkModifiable()