Code example for Range

Methods: contains

0
        this.range = range;
    } 
 
    @Override 
    public boolean apply(Short data) {
        return range.contains(data);
    } 
 
} 
Experience pair programming with AI  Get Codota for Java