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

## org.jboss.cache.pojo.collection
Class CachedPrimitiveArray

    java.lang.Object
      org.jboss.cache.pojo.collection.CachedArray
          org.jboss.cache.pojo.collection.CachedPrimitiveArray

    public class CachedPrimitiveArray

extends CachedArray

A CachedPrimitiveArray is used to back arrays which have primitive component types. These are currently mapped to attributes on a single node.

Author:
  Jason T. Greene

Field Summary

Fields inherited from class org.jboss.cache.pojo.collection.CachedArray
`cache, fqn`

Constructor Summary
`protected` | `CachedPrimitiveArray(org.jboss.cache.Fqn<?> fqn, Class<?> type, PojoCacheImpl cache)`

Method Summary
`Object` | `get(int index)`
`void` | `set(int index, Object element)`

Methods inherited from class org.jboss.cache.pojo.collection.CachedArray
`create, destroy, getFqn, length, load, toArray, writeInfo`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CachedPrimitiveArray

    protected CachedPrimitiveArray(org.jboss.cache.Fqn<?> fqn,
                                   Class<?> type,
                                   PojoCacheImpl cache)

Method Detail

### set

    public void set(int index,
                    Object element)

  Specified by:
    `set` in class `CachedArray`

### get

    public Object get(int index)

  Specified by:
    `get` in class `CachedArray`

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 © 2008 JBoss, a division of Red Hat. All Rights Reserved.