Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.knipp.rritoolkit
Interface KVList.Value

All Superinterfaces:
  java.lang.Iterable<java.lang.String>

All Known Implementing Classes:
  KVList.ValueImpl

Enclosing class:
  KVList

    public static interface KVList.Value

extends java.lang.Iterable<java.lang.String>

public interface to values. It contains the read-only methods

Version:
  $Revision: 14936 $
Author:
  Klaus Malorny

Method Summary
`int` | `getCount()` return the number of strings stored in the value
`java.lang.String` | `getFirst()` return the first value
`java.lang.String[]` | `toArray(java.lang.String[] values)` copy the contents into the given array.
`java.util.List<java.lang.String>` | `toList()` return the content as a list

Methods inherited from interface java.lang.Iterable
`iterator`

Method Detail

### getCount

    int getCount()

  return the number of strings stored in the value

  Returns:
    the count

### getFirst

    java.lang.String getFirst()

  return the first value

  Returns:
    the first value or `null` if the value does not contain any string

### toArray

    java.lang.String[] toArray(java.lang.String[] values)

  copy the contents into the given array. If the array is `null` or too small, a new array is allocated

  Parameters:
    `values` - the array, may be `null`
  Returns:
    the given array or a new array

### toList

    java.util.List<java.lang.String> toList()

  return the content as a list

  Returns:
    the list (read-only)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2011 Knipp Medien und Kommunikation GmbH