Javolution 6.0.0 java
Splittable.java
Go to the documentation of this file.
1 /*
2  * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
3  * Copyright (C) 2012 - Javolution (http://javolution.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */
9 package javolution.util.function;
10 
11 
19 public interface Splittable<T> {
20 
29  void perform(Consumer<T> action, T part);
30 
40  T[] split(int n);
41 
49  void update(Consumer<T> action, T part);
50 
51 }
javolution.util.function.Splittable.update
void update(Consumer< T > action, T part)
javolution.util.function.Splittable
Definition: Splittable.java:19
javolution.util.function.Consumer
Definition: Consumer.java:22
javolution.util.function.Splittable.perform
void perform(Consumer< T > action, T part)
javolution.util.function.Splittable.split
T[] split(int n)