Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2006-2014 phloc systems http://www.phloc.com office[at]phloc[dot]com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
package com.phloc.json;
Interface representing a list of property values (IJSONPropertyValue)

Parameters:
<DATATYPE> The concrete IJSONPropertyValue type to use
Author(s):
Boris Gregorcic
public interface IJSONPropertyValueList <DATATYPE extends IJSONPropertyValue <?>> extends
                                                                                  IJSONPropertyValueComplex <List <DATATYPE>>
{
  

Returns:
the list of IJSONPropertyValues
  List <DATATYPE> getValues ();

  

Returns:
A list of the inner data values (the data items stored inside the IJSONPropertyValues)
  List <?> getDataValues ();

  
adds the passed value in the list

Parameters:
aValue the value to add
Returns:
this
  IJSONPropertyValueList <DATATYPE> addValue (@Nonnull DATATYPE aValue);

  
adds all passed values in the list

Parameters:
aValues the values to add
Returns:
this
  IJSONPropertyValueList <DATATYPE> addAllValues (@Nonnull Collection <? extends DATATYPE> aValues);

  
  IJSONPropertyValueList <DATATYPE> getClone ();
New to GrepCode? Check out our FAQ X