it.unimi.dsi.fastutil
Class Lists

java.lang.Object
  extended byit.unimi.dsi.fastutil.Lists

public class Lists
extends Object

A class providing static methods and objects that do useful things with lists.

See Also:
Lists

Nested Class Summary
static class Lists.EmptyList
          An immutable class representing the empty list and implementing all type-specific list interfaces.
 
Field Summary
static Lists.EmptyList EMPTY_LIST
          An empty list (immutable).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_LIST

public static final Lists.EmptyList EMPTY_LIST
An empty list (immutable). It is serializable and cloneable.

The class of this objects represent an abstract empty list that is a sublist of any type of list. Thus, EMPTY_LIST may be assigned to a variable of any (sorted) type-specific list.