Class TrimInteger

Object
com.owenfeehan.pathpatternfinder.trim.TrimInteger
All Implemented Interfaces:
TrimOperation<String>

public class TrimInteger
extends Object
implements TrimOperation<String>
Reads an integer from the left-side of the string (greedy, it grabs an integer of maximally possible length).

Only succeeds if every string has an integer at the left, otherwise returns Optional.empty().

Author:
Owen Feehan