|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nasa.worldwind.util.TupleBufferFactory
gov.nasa.worldwind.util.TupleBufferFactory.BasicTupleBufferFactory
gov.nasa.worldwind.util.TupleBufferFactory.ShortTupleBufferFactory
public static class TupleBufferFactory.ShortTupleBufferFactory
Implementation of TupleBufferFactory which constructs instances of VecBuffer,
backed by a BufferWrapper.ShortBufferWrapper.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class gov.nasa.worldwind.util.TupleBufferFactory |
|---|
TupleBufferFactory.BasicTupleBufferFactory, TupleBufferFactory.ByteTupleBufferFactory, TupleBufferFactory.DoubleTupleBufferFactory, TupleBufferFactory.FloatTupleBufferFactory, TupleBufferFactory.IntTupleBufferFactory, TupleBufferFactory.ShortTupleBufferFactory |
| Field Summary |
|---|
| Fields inherited from class gov.nasa.worldwind.util.TupleBufferFactory.BasicTupleBufferFactory |
|---|
bufferFactory, tupleSize |
| Constructor Summary | |
|---|---|
TupleBufferFactory.ShortTupleBufferFactory(int tupleSize)
Constructs a new ShortTupleBufferFactory with the specified tuple size and the default buffer allocation policy. |
|
TupleBufferFactory.ShortTupleBufferFactory(int tupleSize,
boolean allocateDirect)
Constructs a new ShortTupleBufferFactory with the specified tuple size and buffer allocation policy. |
|
| Method Summary |
|---|
| Methods inherited from class gov.nasa.worldwind.util.TupleBufferFactory.BasicTupleBufferFactory |
|---|
newBuffer, newTupleBuffer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TupleBufferFactory.ShortTupleBufferFactory(int tupleSize)
tupleSize - the number of coordinates per logical tuple.
public TupleBufferFactory.ShortTupleBufferFactory(int tupleSize,
boolean allocateDirect)
tupleSize - the number of coordinates per logical tuple.allocateDirect - true to allocate ShortBufferWrappers backed by direct buffers, false to allocate
ShortBufferWrappers backed by non-direct buffers.
java.lang.IllegalArgumentException - is the tuple size is negative, or if the buffer factory is null.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||