Java Number Sum sum(long x, int c)

Here you can find the source of sum(long x, int c)

Description

sum

License

Apache License

Declaration

public static double sum(long x, int c) 

Method Source Code

//package com.java2s;
/*/*from  w  ww  .java  2s  . c  o  m*/
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

public class Main {
    public static double sum(long x, int c) {
        return (double) x + c;
    }
}

Related

  1. sum(int a, int b)
  2. sum(int matrix1, int matrix2)
  3. sum(Iterable as)
  4. sum(Iterable iterable)
  5. sum(long space1, String space2)
  6. sum(Number n1, Number n2)
  7. Sum(Object in, int min, int max)
  8. sum(String fieldName)
  9. sum(String str11, String str22)