+
+ public static ToIntFunction<IntervalI> fbegin = new ToIntFunction<IntervalI>()
+ {
+
+ @Override
+ public int applyAsInt(IntervalI value)
+ {
+ return value.getBegin();
+ }
+
+ };
+
+ public static ToIntFunction<IntervalI> fend = new ToIntFunction<IntervalI>()
+ {
+
+ @Override
+ public int applyAsInt(IntervalI value)
+ {
+ return value.getEnd();
+ }
+
+ };
+