Package at.molindo.esi4j.multi.impl

Examples of at.molindo.esi4j.multi.impl.DefaultManagedMultiIndex


  }

  @Override
  public Esi4JManagedIndex getMultiIndex(List<String> names) {
    if (CollectionUtils.empty(names)) {
      return new DefaultManagedMultiIndex(_indexes.values());
    } else if (names.size() == 1) {
      String name = names.get(0);
      if ("*".equals(name)) {
        return new DefaultManagedMultiIndex(_indexes.values());
      } else {
        return getIndex(name);
      }
    } else {
      List<InternalIndex> indices = Lists.newArrayListWithCapacity(names.size());
      for (String name : names) {
        indices.add(getIndex(name));
      }
      return new DefaultManagedMultiIndex(indices);
    }
  }
View Full Code Here

TOP

Related Classes of at.molindo.esi4j.multi.impl.DefaultManagedMultiIndex

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.