Package ghidra.util
Interface ObjectStorage
- 
- All Known Implementing Classes:
- ObjectStorageAdapter,- ObjectStorageAdapterDB,- ObjectStorageStreamAdapter
 
 public interface ObjectStorageMethods for saving and restoring Strings and Java primitives or arrays of Strings and primitives. The order in which the puts are done must the same order in which the gets are done.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBoolean()Gets the boolean value.bytegetByte()Gets the byte value.byte[]getBytes()Gets the byte array.doublegetDouble()Gets the double value.double[]getDoubles()Gets the double array.floatgetFloat()Gets the float value.float[]getFloats()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[]getShorts()Gets the short array.java.lang.StringgetString()Gets the String value.java.lang.String[]getStrings()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.voidputString(java.lang.String value)Store a String value.voidputStrings(java.lang.String[] value)Store a String[] value.
 
- 
- 
- 
Method Detail- 
putIntvoid putInt(int value) Store an integer value.- Parameters:
- value- The value in the name,value pair.
 
 - 
putBytevoid putByte(byte value) Store a byte value.- Parameters:
- value- The value in the name,value pair.
 
 - 
putShortvoid putShort(short value) Store a short value.- Parameters:
- value- The value in the name,value pair.
 
 - 
putLongvoid putLong(long value) Store a long value.- Parameters:
- value- The value in the name,value pair.
 
 - 
putStringvoid putString(java.lang.String value) Store a String value.- Parameters:
- value- The value in the name,value pair.
 
 - 
putBooleanvoid putBoolean(boolean value) Store a boolean value.- Parameters:
- value- The value in the name,value pair.
 
 - 
putFloatvoid putFloat(float value) Store a float value.- Parameters:
- value- The value in the name,value pair.
 
 - 
putDoublevoid putDouble(double value) Store a double value.- Parameters:
- value- The value in the name,value pair.
 
 - 
getIntint getInt() Gets the int value.
 - 
getBytebyte getByte() Gets the byte value.
 - 
getShortshort getShort() Gets the short value.
 - 
getLonglong getLong() Gets the long value.
 - 
getBooleanboolean getBoolean() Gets the boolean value.
 - 
getStringjava.lang.String getString() Gets the String value.
 - 
getFloatfloat getFloat() Gets the float value.
 - 
getDoubledouble getDouble() Gets the double value.
 - 
putIntsvoid putInts(int[] value) Store an integer array.
 - 
putBytesvoid putBytes(byte[] value) Store a byte array.
 - 
putShortsvoid putShorts(short[] value) Store a short array.
 - 
putLongsvoid putLongs(long[] value) Store a long array.
 - 
putFloatsvoid putFloats(float[] value) Store a float array.
 - 
putDoublesvoid putDoubles(double[] value) Store a double array value.
 - 
putStringsvoid putStrings(java.lang.String[] value) Store a String[] value.
 - 
getIntsint[] getInts() Gets the int array.
 - 
getBytesbyte[] getBytes() Gets the byte array.
 - 
getShortsshort[] getShorts() Gets the short array.
 - 
getLongslong[] getLongs() Gets the long array.
 - 
getFloatsfloat[] getFloats() Gets the float array.
 - 
getDoublesdouble[] getDoubles() Gets the double array.
 - 
getStringsjava.lang.String[] getStrings() Gets the array of Strings
 
- 
 
-