Class Empty
- java.lang.Object
-
- dk.cloudcreate.essentials.shared.functional.tuple.Empty
-
- All Implemented Interfaces:
Tuple<Empty>,Serializable
public final class Empty extends Object implements Tuple<Empty>
Represents aTuplewith zero elements- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intarity()Number of arguments/elements in the Tuplebooleanequals(Object o)inthashCode()static Emptyinstance()The shared single instance of theEmptytupleList<?>toList()Convert the Tuple to a listStringtoString()
-
-
-
Method Detail
-
instance
public static Empty instance()
The shared single instance of theEmptytuple- Returns:
- the shared single instance of the
Emptytuple
-
arity
public int arity()
Description copied from interface:TupleNumber of arguments/elements in the Tuple
-
-