aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/java/implement-user-interface/com/example/ConstantIntSupplier.java
blob: 5198d614d09fd94ded3493a9a8254888dbbee27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.example;

import java.util.function.Supplier;

public class ConstantIntSupplier implements IntSupplier {
    public static int value() {
        IntSupplier supplier = new ConstantIntSupplier();
        return supplier.get();
    }
    
    public int get() {
        return 42;
    }
}