How can I check if an array key exists in java
807607Jan 31 2007 — edited Feb 1 2007If I use a variable argument list is there a way to check how many of the variable arguments are set. For example:
public Object methodName(Object req_input, Object... add_inp)
I would like to know if add_input[0] is set, and also the number of add_inp[] entries that are set. Thanks.