List of usage examples for java.util.function ToLongFunction applyAsLong
long applyAsLong(T value);
From source file:org.eclipse.packagedrone.utils.rpm.build.RpmBuilder.java
private static boolean needLong(final Collection<FileEntry> files, final ToLongFunction<FileEntry> func) { return files.stream().anyMatch(file -> func.applyAsLong(file) > Integer.MAX_VALUE); }