Enum GryoVersion
- java.lang.Object
- 
- java.lang.Enum<GryoVersion>
- 
- org.apache.tinkerpop.gremlin.structure.io.gryo.GryoVersion
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<GryoVersion>
 
 public enum GryoVersion extends Enum<GryoVersion> - Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TypeRegistration<?>>cloneRegistrations()Supplier<org.apache.tinkerpop.shaded.kryo.ClassResolver>getClassResolverMaker()List<TypeRegistration<?>>getRegistrations()StringgetVersion()static List<TypeRegistration<?>>initV1Registrations()static List<TypeRegistration<?>>initV3Registrations()static GryoVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static GryoVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
V1_0public static final GryoVersion V1_0 
 - 
V3_0public static final GryoVersion V3_0 
 
- 
 - 
Method Detail- 
valuespublic static GryoVersion[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GryoVersion c : GryoVersion.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static GryoVersion valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
cloneRegistrationspublic List<TypeRegistration<?>> cloneRegistrations() 
 - 
getRegistrationspublic List<TypeRegistration<?>> getRegistrations() 
 - 
getClassResolverMakerpublic Supplier<org.apache.tinkerpop.shaded.kryo.ClassResolver> getClassResolverMaker() 
 - 
getVersionpublic String getVersion() 
 - 
initV3Registrationspublic static List<TypeRegistration<?>> initV3Registrations() 
 - 
initV1Registrationspublic static List<TypeRegistration<?>> initV1Registrations() 
 
- 
 
-