guava/src/com/google/common/primitives/Booleans.java
public static List<Boolean> asList(boolean... backingArray) {
    if (backingArray.length == 0) {
      return Collections.emptyList();
    }
    return new BooleanArrayAsList(backingArray);
  }
public static List<Boolean> asList(boolean... backingArray) {
    if (backingArray.length == 0) {
      return Collections.emptyList();
    }
    return new BooleanArrayAsList(backingArray);
  }
public static List < Boolean > asList ( boolean ... backingArray ) { if ( backingArray . length == 0 ) { return Collections . emptyList ( ) ; } return new BooleanArrayAsList ( backingArray ) ; }
Returns a fixed-size list backed by the specified array, similar to {@link
Arrays#asList(Object[])}. The list supports {@link List#set(int, Object)}, but any attempt to
set a value to {@code null} will result in a {@link NullPointerException}.

<p>The returned list maintains the values, but not the identities, of {@code Boolean} objects
written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for
the returned list is unspecified.

@param backingArray the array to back the list
@return a list view of the array
Returns a fixed - size list backed by the specified array similar to { @link Arrays#asList ( Object [] ) } . The list supports { @link List#set ( int Object ) } but any attempt to set a value to { @code null } will result in a { @link NullPointerException } .