jdk/src/share/classes/java/util/function/LongUnaryOperator.java
changeset 15647 314007859004
parent 14670 964ac9f1463c
child 16011 890a7ed97f6c
equal deleted inserted replaced
15646:b065aeb8e26b 15647:314007859004
     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
    27 /**
    27 /**
    28  * An operation on a single {@code long} operand yielding a {@code long} result.
    28  * An operation on a single {@code long} operand yielding a {@code long} result.
    29  *
    29  *
    30  * @since 1.8
    30  * @since 1.8
    31  */
    31  */
       
    32 @FunctionalInterface
    32 public interface LongUnaryOperator {
    33 public interface LongUnaryOperator {
    33 
    34 
    34     /**
    35     /**
    35      * Returns the {@code long} result of the operation upon the {@code long}
    36      * Returns the {@code long} result of the operation upon the {@code long}
    36      * operand.
    37      * operand.