return create(this.refCache, asn, semantics);
}
- /**
- * Creates a Community from its String representation.
- *
- * @param string String representation of a community
- * @return new Community
- */
- public Community valueOf(final String string) {
- return valueOf(this.refCache, string);
- }
-
/**
* Creates a new Community given AS number value and semantics using generated CommunitiesBuilder.
*
return refCache.getSharedReference(builder.build());
}
+ /**
+ * Creates a Community from its String representation.
+ *
+ * @param string String representation of a community
+ * @return new Community
+ */
+ public Community valueOf(final String string) {
+ return valueOf(this.refCache, string);
+ }
+
/**
* Creates a Community from its String representation.
*