Debian Codegraph @

owner-java8/src/test/java/org/aeonbits/owner/java8/ConfigWithJava8Features.java

raw symbols SCIP
1 /*
2 * Copyright (c) 2012-2015, Luigi R. Viggiano
3 * All rights reserved.
4 *
5 * This software is distributable under the BSD license.
6 * See the terms of the BSD license in the documentation provided with this software.
7 */
8 package org.aeonbits.owner.java8;
9
10 import org.aeonbits.owner.Config;
11
12 /**
13 * @author Luigi R. Viggiano
14 */
15 public interface ConfigWithJava8Features extends Config {
16
17 @DefaultValue("100")
18 int oneHundred();
19
20 default Integer sum(Integer a, Integer b) {
21 return Integer.sum(a, b);
22 }
23
24 static int min(int a, int b) {
25 return Integer.min(a, b);
26 }
27 }