equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
30 * <p/>This is the primitive type specialization of {@link Supplier} for |
30 * <p/>This is the primitive type specialization of {@link Supplier} for |
31 * {@code int} and also may be used as a {@code Supplier<Integer>}. |
31 * {@code int} and also may be used as a {@code Supplier<Integer>}. |
32 * |
32 * |
33 * @since 1.8 |
33 * @since 1.8 |
34 */ |
34 */ |
|
35 @FunctionalInterface |
35 public interface IntSupplier { |
36 public interface IntSupplier { |
36 |
37 |
37 /** |
38 /** |
38 * Returns an {@code int} value. |
39 * Returns an {@code int} value. |
39 * |
40 * |