public static IFluidFilter getGateFluidFilter(IDockingStation station) {
Collection<ItemStack> stacks = getGateFilterStacks(station);
if (stacks.size() == 0) {
return new PassThroughFluidFilter();
} else {
return new ArrayFluidFilter(stacks.toArray(new ItemStack[stacks.size()]));
}
}