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

## com.ibm.portal
Interface Countable

    public interface Countable

Optional interface for collection-like models that want to expose the number of elements stored.

Since:
  7.0

Method Summary
`int` | `size()` Returns the number of elements kept by the model.

Method Detail

### size

    int size()
             throws ModelException

  Returns the number of elements kept by the model. If more than Integer.MAX_VALUE elements are held, Integer.MAX_VALUE is returned.

  Returns:
    Non-negative number of elements.
  Throws:
    `ModelException` - In case an exception occurs accessing the elements.

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