Package com.browseengine.bobo.facets.data

Examples of com.browseengine.bobo.facets.data.TermFixedLengthLongArrayListFactory


        {
          // Initialize.
          if (val instanceof long[])
          {
            if(_termListFactory == null)
              _termListFactory = new TermFixedLengthLongArrayListFactory(
                ((long[])val).length);

            dataMap = new TreeMap<Object, LinkedList<Integer>>(new Comparator<Object>()
            {
              public int compare(Object big, Object small)
View Full Code Here


      return new VirtualSimpleFacetHandler("virtual_groupid", new PredefinedTermListFactory(Long.class, "00000000000000000000000000000000000"), facetDataFetcher, depends);
    }
    if ("fixedlengthlongarray".equals(initProperties.get("typeProp"))) {
      HashSet<String> depends = new HashSet<String>();
      depends.add("groupid");
      return new VirtualSimpleFacetHandler("virtual_groupid_fixedlengthlongarray", new TermFixedLengthLongArrayListFactory(2), facetDataFetcherFixedLengthLongArray, depends);
    }
    return null;
  }
View Full Code Here

                                 SenseiPluginRegistry pluginRegistry)
  {
    String type = initProperties.get(TYPE);
    if (FIXEDLENGTHLONG.equals(type))
    {
      return new TermFixedLengthLongArrayListFactory(Integer.parseInt(initProperties.get(LENGTH)));
    }
    return getFactory(type);
  }
View Full Code Here

        continue;
      }
      if (dataMap == null) {
        // Initialize.
        if (val instanceof long[]) {
          if (_termListFactory == null) _termListFactory = new TermFixedLengthLongArrayListFactory(
              ((long[]) val).length);

          dataMap = new TreeMap<Object, LinkedList<Integer>>(new Comparator<Object>() {
            @Override
            public int compare(Object big, Object small) {
View Full Code Here

TOP

Related Classes of com.browseengine.bobo.facets.data.TermFixedLengthLongArrayListFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.