Java List First Item first(List l)

Here you can find the source of first(List l)

Description

first

License

Open Source License

Declaration

public static <T> T first(List<T> l) 

Method Source Code

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

import java.util.List;

public class Main {
    public static <T> T first(List<T> l) {
        return l.get(0);
    }/*from ww  w  . ja  va2 s  .c o  m*/
}

Related

  1. first(final List list)
  2. first(final List list, final int oridinal)
  3. first(final List t)
  4. first(List list)
  5. first(List l)
  6. first(List list)
  7. first(List list)
  8. first(List list)
  9. first(List list)