Package org.apache.sshd.common.random
Class AbstractRandomFactory
- java.lang.Object
-
- org.apache.sshd.common.random.AbstractRandomFactory
-
- All Implemented Interfaces:
java.util.function.Supplier<Random>
,BuiltinFactory<Random>
,Factory<Random>
,NamedFactory<Random>
,NamedResource
,OptionalFeature
,RandomFactory
- Direct Known Subclasses:
BouncyCastleRandomFactory
,JceRandomFactory
public abstract class AbstractRandomFactory extends java.lang.Object implements RandomFactory
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
Fields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRandomFactory(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.OptionalFeature
isSupported
-
-
-
-
Method Detail
-
getName
public final java.lang.String getName()
- Specified by:
getName
in interfaceNamedResource
- Returns:
- The resource name
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-