Class SolrOpenBitSetAdapter

  • All Implemented Interfaces:
    org.alfresco.solr.adapters.IOpenBitSet

    public class SolrOpenBitSetAdapter
    extends java.lang.Object
    implements org.alfresco.solr.adapters.IOpenBitSet
    The reason we have this class is so that lucene-free dependent classes can be dependent on IOpenBitSet instead of the lucene-version-specific OpenBitSet.
    Author:
    Ahmed Owian
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long cardinality()  
      boolean get​(long index)  
      long nextSetBit​(long index)  
      void or​(org.alfresco.solr.adapters.IOpenBitSet other)  
      void set​(long index)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SolrOpenBitSetAdapter

        public SolrOpenBitSetAdapter()
    • Method Detail

      • set

        public void set​(long index)
        Specified by:
        set in interface org.alfresco.solr.adapters.IOpenBitSet
      • or

        public void or​(org.alfresco.solr.adapters.IOpenBitSet other)
        Specified by:
        or in interface org.alfresco.solr.adapters.IOpenBitSet
      • nextSetBit

        public long nextSetBit​(long index)
        Specified by:
        nextSetBit in interface org.alfresco.solr.adapters.IOpenBitSet
      • cardinality

        public long cardinality()
        Specified by:
        cardinality in interface org.alfresco.solr.adapters.IOpenBitSet
      • get

        public boolean get​(long index)
        Specified by:
        get in interface org.alfresco.solr.adapters.IOpenBitSet