@Override
	public Object get(int index) {
		if (optional().isPresent() && index == 0) {
			return optional().orElseThrow();
		} else {
			throw new NoSuchElementException(
				"Optional=%s, index=%s".formatted(optional(), index)
			);
		}
	}
Return the optional value as {@code Optional} object.

@return the optional value
jenetics.incubator/src/main/java/io/jenetics/incubator/beans/property/OptionalProperty.java