T- Type of the input elements.
O- Type of the returned elements.
public interface TranslateFunction<T,O> extends Function, Serializable
Translate functions are used within the Graph API and by translating GraphAlgorithms.
value- input value.
reuse- value which may be reused for output; if reuse is null then a new output object must be instantiated and returned
Exception- This method may throw exceptions. Throwing an exception will cause the operation to fail and may trigger recovery.
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.