| 
Cumulus4j API (1.0.1)  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cumulus4j.keystore.prop.Property<SortedMap<Long,Long>>
org.cumulus4j.keystore.prop.Long2LongSortedMapProperty
public class Long2LongSortedMapProperty
Property implementation for the value type SortedMap
 with both key and value being Longs.
 
Used for example by the date-dependent key-strategy to store it's key-is-valid-from-dates.
| Constructor Summary | |
|---|---|
Long2LongSortedMapProperty()
 | 
|
| Method Summary | |
|---|---|
 SortedMap<Long,Long> | 
getValue()
Get the property's value.  | 
 byte[] | 
getValueEncoded()
Get the property's value encoded as byte-array or null, if the
 property is empty. | 
 void | 
setValueEncoded(byte[] encodedValue)
Set the property's value encoded as byte-array or null,
 if the property shall be empty. | 
| Methods inherited from class org.cumulus4j.keystore.prop.Property | 
|---|
compareTo, equals, getName, getXxx, hashCode, setName, setValue, setXxx, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Long2LongSortedMapProperty()
| Method Detail | 
|---|
public SortedMap<Long,Long> getValue()
Property
getValue in class Property<SortedMap<Long,Long>>null.Property.setValue(Object)public byte[] getValueEncoded()
Property
 Get the property's value encoded as byte-array or null, if the
 property is empty. Note, that this might be null, even though Property.getValue() returns
 a non-null value; for example an empty Collection might cause this.
 
 This method must encode the value in a way that can be decoded by Property.setValueEncoded(byte[]).
 
getValueEncoded in class Property<SortedMap<Long,Long>>null.Property.setValueEncoded(byte[])
public void setValueEncoded(byte[] encodedValue)
                     throws IllegalArgumentException
Property
 Set the property's value encoded as byte-array or null,
 if the property shall be empty.
 
 This method must be symmetric to Property.getValueEncoded(), i.e. every possible result of getValueEncoded()
 must be understood by this method. A byte-array that is not understood should cause an IllegalArgumentException.
 
setValueEncoded in class Property<SortedMap<Long,Long>>encodedValue - the byte-array-representation of the property-value or null.
IllegalArgumentException - if the encodedValue cannot be parsed.Property.getValueEncoded()
  | 
Cumulus4j API (1.0.1)  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||