forked from I2P_Developers/i2p.i2p
javadoc fixes part 6 (ticket #1894)
This commit is contained in:
@@ -114,7 +114,7 @@ public interface IRandomStandalone extends Cloneable {
|
||||
*
|
||||
* @return the next 8 bits of random data generated from this instance.
|
||||
* @throws IllegalStateException if the instance is not yet initialised.
|
||||
* @throws LimLimitReachedExceptionStandalone this instance has reached its
|
||||
* @throws LimitReachedExceptionStandalone this instance has reached its
|
||||
* theoretical limit for generating non-repetitive pseudo-random data.
|
||||
*/
|
||||
byte nextByte() throws IllegalStateException, LimitReachedExceptionStandalone;
|
||||
@@ -131,7 +131,7 @@ public interface IRandomStandalone extends Cloneable {
|
||||
* @param length the maximum number of required random bytes. This method
|
||||
* does nothing if this parameter is less than <code>1</code>.
|
||||
* @throws IllegalStateException if the instance is not yet initialised.
|
||||
* @throws LimitLimitReachedExceptionStandalonehis instance has reached its
|
||||
* @throws LimitReachedExceptionStandalone this instance has reached its
|
||||
* theoretical limit for generating non-repetitive pseudo-random data.
|
||||
*/
|
||||
void nextBytes(byte[] out, int offset, int length)
|
||||
|
||||
@@ -25,7 +25,7 @@ import net.i2p.util.SystemVersion;
|
||||
* Following is sample usage:
|
||||
* <pre>
|
||||
|
||||
private static final SDSCache<Foo> _cache = new SDSCache(Foo.class, LENGTH, 1024);
|
||||
private static final SDSCache<Foo> _cache = new SDSCache(Foo.class, LENGTH, 1024);
|
||||
|
||||
public static Foo create(byte[] data) {
|
||||
return _cache.get(data);
|
||||
@@ -113,7 +113,7 @@ public class SDSCache<V extends SimpleDataStructure> {
|
||||
* @return the cached value if available, otherwise
|
||||
* makes a new object and returns it
|
||||
* @throws IllegalArgumentException if data is not the correct number of bytes
|
||||
* @throws NPE
|
||||
* @throws NullPointerException
|
||||
*/
|
||||
public V get(byte[] data) {
|
||||
if (data == null)
|
||||
|
||||
@@ -28,7 +28,7 @@ public abstract class I2CPMessageImpl extends DataStructureImpl implements I2CPM
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate the type and size of the message, and then read the message into the data structures. <p />
|
||||
* Validate the type and size of the message, and then read the message into the data structures. <p>
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
|
||||
@@ -138,7 +138,7 @@ public class Rate {
|
||||
|
||||
/**
|
||||
* Create a new rate and load its state from the properties, taking data
|
||||
* from the data points underneath the given prefix. <p />
|
||||
* from the data points underneath the given prefix. <p>
|
||||
* (e.g. prefix = "profile.dbIntroduction.60m", this will load the associated data points such
|
||||
* as "profile.dbIntroduction.60m.lifetimeEventCount"). The data can be exported
|
||||
* through store(outputStream, "profile.dbIntroduction.60m").
|
||||
|
||||
Reference in New Issue
Block a user