com.hp.autonomy.aci.content.ranges.Ranges Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of content-parameter-api Show documentation
Show all versions of content-parameter-api Show documentation
API for representing aspects of IDOL's Content server, including FieldText and document References
package com.hp.autonomy.aci.content.ranges;
import org.apache.commons.collections4.ListUtils;
import org.apache.commons.lang3.StringUtils;
import java.util.ArrayList;
import java.util.List;
@SuppressWarnings("WeakerAccess")
public class Ranges {
private final List ranges;
public Ranges(final List ranges) {
this.ranges = new ArrayList(ListUtils.emptyIfNull(ranges));
}
@Override
public String toString() {
return ranges.isEmpty() ? "" : StringUtils.join(ranges, '+');
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy