Java Number Swap swap(T... args)

Here you can find the source of swap(T... args)

Description

swap

License

Open Source License

Declaration

@SafeVarargs
    public static <T> T swap(T... args) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    @SafeVarargs
    public static <T> T swap(T... args) {
        return args[0];
    }/*  w ww.j a v  a  2  s.  c om*/
}

Related

  1. swap(short value)
  2. swap(short x)
  3. swap(String str, int i, int j)
  4. swap(StringBuffer s, int i, int j)
  5. swap(T a, T b)
  6. swap16(final int aValue)
  7. swap16(short rgb)
  8. swap32(int rgb)
  9. swapAddresses(T o1, T o2)