- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {SimpleDateFormat s =
String pattern;new SimpleDateFormat(pattern)
String template;Locale locale;new SimpleDateFormat(template, locale)
new SimpleDateFormat()
- Smart code suggestions by Codota
}
public ClusterSpec exclusive(boolean exclusive) { return new ClusterSpec(type, id, groupId, vespaVersion, exclusive, rotations); }
public ClusterSpec with(Optional<Group> newGroup) { return new ClusterSpec(type, id, newGroup, vespaVersion, exclusive, rotations); }
public static ClusterSpec request(Type type, Id id, Version vespaVersion, boolean exclusive, Set<RotationName> rotations) { return new ClusterSpec(type, id, Optional.empty(), vespaVersion, exclusive, rotations); }
public static ClusterSpec from(Type type, Id id, Group groupId, Version vespaVersion, boolean exclusive, Set<RotationName> rotations) { return new ClusterSpec(type, id, Optional.of(groupId), vespaVersion, exclusive, rotations); }
public static ClusterSpec request(Type type, Id id, Version vespaVersion, boolean exclusive) { return new ClusterSpec(type, id, Optional.empty(), vespaVersion, exclusive, Collections.emptySet()); }