Package ghidra.util.map
Class ObjectStorageAdapter
java.lang.Object
ghidra.util.map.ObjectStorageAdapter
- All Implemented Interfaces:
- ObjectStorage
Convenience adapter implementation for saving and restoring Strings and 
 Java primitives or arrays of Strings and primitives for a row of a data table.
 The order in which the puts are done must the same order in which the gets are done.
- 
Constructor SummaryConstructorsConstructorDescriptionObjectStorageAdapter(DataTable table, int row) Constructor for ObjectStorageAdapter.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the boolean value.bytegetByte()Gets the byte value.byte[]getBytes()Gets the byte array.doubleGets the double value.double[]Gets the double array.floatgetFloat()Gets the float value.float[]Gets the float array.intgetInt()Gets the int value.int[]getInts()Gets the int array.longgetLong()Gets the long value.long[]getLongs()Gets the long array.shortgetShort()Gets the short value.short[]Gets the short array.Gets the String value.String[]Gets the array of StringsvoidputBoolean(boolean value) Store a boolean value.voidputByte(byte value) Store a byte value.voidputBytes(byte[] value) Store a byte array.voidputDouble(double value) Store a double value.voidputDoubles(double[] value) Store a double array value.voidputFloat(float value) Store a float value.voidputFloats(float[] value) Store a float array.voidputInt(int value) Store an integer value.voidputInts(int[] value) Store an integer array.voidputLong(long value) Store a long value.voidputLongs(long[] value) Store a long array.voidputShort(short value) Store a short value.voidputShorts(short[] value) Store a short array.voidStore a String value.voidputStrings(String[] value) Store a String[] value.
- 
Constructor Details- 
ObjectStorageAdapterConstructor for ObjectStorageAdapter.
 
- 
- 
Method Details- 
putIntpublic void putInt(int value) Description copied from interface:ObjectStorageStore an integer value.- Specified by:
- putIntin interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
putBytepublic void putByte(byte value) Description copied from interface:ObjectStorageStore a byte value.- Specified by:
- putBytein interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
putShortpublic void putShort(short value) Description copied from interface:ObjectStorageStore a short value.- Specified by:
- putShortin interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
putLongpublic void putLong(long value) Description copied from interface:ObjectStorageStore a long value.- Specified by:
- putLongin interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
putStringDescription copied from interface:ObjectStorageStore a String value.- Specified by:
- putStringin interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
putBooleanpublic void putBoolean(boolean value) Description copied from interface:ObjectStorageStore a boolean value.- Specified by:
- putBooleanin interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
putFloatpublic void putFloat(float value) Description copied from interface:ObjectStorageStore a float value.- Specified by:
- putFloatin interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
putDoublepublic void putDouble(double value) Description copied from interface:ObjectStorageStore a double value.- Specified by:
- putDoublein interface- ObjectStorage
- Parameters:
- value- The value in the name,value pair.
- See Also:
 
- 
getIntpublic int getInt()Description copied from interface:ObjectStorageGets the int value.- Specified by:
- getIntin interface- ObjectStorage
- See Also:
 
- 
getBytepublic byte getByte()Description copied from interface:ObjectStorageGets the byte value.- Specified by:
- getBytein interface- ObjectStorage
- See Also:
 
- 
getShortpublic short getShort()Description copied from interface:ObjectStorageGets the short value.- Specified by:
- getShortin interface- ObjectStorage
- See Also:
 
- 
getLongpublic long getLong()Description copied from interface:ObjectStorageGets the long value.- Specified by:
- getLongin interface- ObjectStorage
- See Also:
 
- 
getBooleanpublic boolean getBoolean()Description copied from interface:ObjectStorageGets the boolean value.- Specified by:
- getBooleanin interface- ObjectStorage
- See Also:
 
- 
getStringDescription copied from interface:ObjectStorageGets the String value.- Specified by:
- getStringin interface- ObjectStorage
- See Also:
 
- 
getFloatpublic float getFloat()Description copied from interface:ObjectStorageGets the float value.- Specified by:
- getFloatin interface- ObjectStorage
- See Also:
 
- 
getDoublepublic double getDouble()Description copied from interface:ObjectStorageGets the double value.- Specified by:
- getDoublein interface- ObjectStorage
- See Also:
 
- 
putIntspublic void putInts(int[] value) Description copied from interface:ObjectStorageStore an integer array.- Specified by:
- putIntsin interface- ObjectStorage
- See Also:
 
- 
putBytespublic void putBytes(byte[] value) Description copied from interface:ObjectStorageStore a byte array.- Specified by:
- putBytesin interface- ObjectStorage
- See Also:
 
- 
putShortspublic void putShorts(short[] value) Description copied from interface:ObjectStorageStore a short array.- Specified by:
- putShortsin interface- ObjectStorage
- See Also:
 
- 
putLongspublic void putLongs(long[] value) Description copied from interface:ObjectStorageStore a long array.- Specified by:
- putLongsin interface- ObjectStorage
- See Also:
 
- 
putFloatspublic void putFloats(float[] value) Description copied from interface:ObjectStorageStore a float array.- Specified by:
- putFloatsin interface- ObjectStorage
- See Also:
 
- 
putDoublespublic void putDoubles(double[] value) Description copied from interface:ObjectStorageStore a double array value.- Specified by:
- putDoublesin interface- ObjectStorage
- See Also:
 
- 
getIntspublic int[] getInts()Description copied from interface:ObjectStorageGets the int array.- Specified by:
- getIntsin interface- ObjectStorage
- See Also:
 
- 
getBytespublic byte[] getBytes()Description copied from interface:ObjectStorageGets the byte array.- Specified by:
- getBytesin interface- ObjectStorage
- See Also:
 
- 
getShortspublic short[] getShorts()Description copied from interface:ObjectStorageGets the short array.- Specified by:
- getShortsin interface- ObjectStorage
- See Also:
 
- 
getLongspublic long[] getLongs()Description copied from interface:ObjectStorageGets the long array.- Specified by:
- getLongsin interface- ObjectStorage
- See Also:
 
- 
getFloatspublic float[] getFloats()Description copied from interface:ObjectStorageGets the float array.- Specified by:
- getFloatsin interface- ObjectStorage
- See Also:
 
- 
getDoublespublic double[] getDoubles()Description copied from interface:ObjectStorageGets the double array.- Specified by:
- getDoublesin interface- ObjectStorage
- See Also:
 
- 
getStringsDescription copied from interface:ObjectStorageGets the array of Strings- Specified by:
- getStringsin interface- ObjectStorage
- See Also:
 
- 
putStringsDescription copied from interface:ObjectStorageStore a String[] value.- Specified by:
- putStringsin interface- ObjectStorage
- See Also:
 
 
-