Operator

Stay organized with collections Save and categorize content based on your preferences.
public interface Operator
Known Indirect Subclasses

The common interface for classes that carries an "apply" method, which converts T to another one.

Public Methods

abstract T
apply(T x)
Applies an operation on a T object, returning a T object.

Public Methods

public abstract T apply (T x)

Applies an operation on a T object, returning a T object.

Note: The returned object could probably be the same one with given input, and given input could probably be changed.

Parameters
x