Gets the data point value.

<p>
The returned value depends on type of data point's. See {@link Type}.
</p>

@return
778033
public long value() {
        switch (type) {
        case AVERAGE:
            return numPoints != 0 ? value / numPoints : 0;
        case NONE:
            return 0;
        case MAXIMUM:
        case MINIMUM:
        case SUM:
            return value;
        default:
            throw new IllegalStateException("Unknown type [" + type + "]!");
        }
    }
50564
public byte[] getPort() {
        byte[] port = new byte[2];
        int p = (getEndpointAddress() == null ? this.port
                : getEndpointAddress().getPort());
        port[1] = (byte) p;
        port[0] = (byte) (p >> 8);
        return port;
    }
667261
public com.google.api.ads.adwords.axis.v201809.cm.GeoPoint getGeoPoint() {
        return geoPoint;
    }
1340578
public ApiResponse<ApiEndpointsSuccess> getApiEndpointsWithHttpInfo() throws ApiException {
        com.squareup.okhttp.Call call = getApiEndpointsValidateBeforeCall(null, null);
        Type localVarReturnType = new TypeToken<ApiEndpointsSuccess>(){}.getType();
        return apiClient.execute(call, localVarReturnType);
    }
36101
public Number getValue() {
		if ((getText() == null) || "".equals(getText().trim()))
			return null;
		try {
			Number n = format.parse(getText());
			if (n.getClass() == this.numberClass)
				return n;
			else if (this.numberClass == BigDecimal.class) {
				BigDecimal bd = new BigDecimal(n.doubleValue());
				if (scale != null) {
					bd = bd.setScale(scale.intValue(), BigDecimal.ROUND_HALF_UP);
				}
				return bd;
			}
			else if (this.numberClass == Double.class)
				return new Double(n.doubleValue());
			else if (this.numberClass == Float.class)
				return new Float(n.floatValue());
			else if (this.numberClass == BigInteger.class)
				// we have called setBigDecimalFormat to make sure a BigDecimal
				// is returned so use toBigInteger on that class
				return ((BigDecimal) n).toBigInteger();
			else if (this.numberClass == Long.class)
				return new Long(n.longValue());
			else if (this.numberClass == Integer.class)
				return new Integer(n.intValue());
			else if (this.numberClass == Short.class)
				return new Short(n.shortValue());
			else if (this.numberClass == Byte.class)
				return new Byte(n.byteValue());
			return null;
		}
		catch (Exception pe) {
			log.error("Error:  " + getText() + " is not a number.", pe);
			return null;
		}
	}
465684
public Object get()
    {
        Object data = null;
        if (this.getMessage() != null)
            data = this.getMessage().getNative(this.getFullKey(null));
        try {
            data = DataConverters.convertObjectToDatatype(data, this.getRawClassType(), this.getDefault());
        } catch (Exception ex) {
            data = null;
        }
        return data;
    }
238602
public com.google.api.Property.PropertyType getType() {
    @SuppressWarnings("deprecation")
    com.google.api.Property.PropertyType result = com.google.api.Property.PropertyType.valueOf(type_);
    return result == null ? com.google.api.Property.PropertyType.UNRECOGNIZED : result;
  }
550111
public java.util.List<SendDataPoint> getSendDataPoints() {
        if (sendDataPoints == null) {
            sendDataPoints = new com.amazonaws.internal.SdkInternalList<SendDataPoint>();
        }
        return sendDataPoints;
    }
792582
public double read(final DataType type) throws IOException {
        if (type == null) {
            throw new NullPointerException("type must not be null.");
        }
        switch (type) {
            case CHAR:
                ensureAvailable(1);
                return buffer.get();
            case UCHAR:
                ensureAvailable(1);
                return ( (int) buffer.get() ) & 0x000000FF;
            case SHORT:
                ensureAvailable(2);
                return buffer.getShort();
            case USHORT:
                ensureAvailable(2);
                return ( (int) buffer.getShort() ) & 0x0000FFFF;
            case INT:
                ensureAvailable(4);
                return buffer.getInt();
            case UINT:
                ensureAvailable(4);
                return ( (long) buffer.getShort() ) & 0x00000000FFFFFFFF;
            case FLOAT:
                ensureAvailable(4);
                return buffer.getFloat();
            case DOUBLE:
                ensureAvailable(8);
                return buffer.getDouble();
            default:
                throw new IllegalArgumentException("Unsupported type: " + type);
        }
    }
1189360
public ValueType getTopValue() throws DataflowAnalysisException {
        if (!isValid()) {
            throw new DataflowAnalysisException("accessing top or bottom frame");
        }
        assert slotList.size() >= numLocals;
        if (slotList.size() == numLocals) {
            throw new DataflowAnalysisException("operand stack is empty");
        }
        return slotList.get(slotList.size() - 1);
    }
938214
public float[] getValue() {
        float[] axisAngle = new float[4];
        axisAngle[0] = this.x;
        axisAngle[1] = this.y;
        axisAngle[2] = this.z;
        axisAngle[3] = this.angle;
        return axisAngle;
    }
68968
public Data getData() {
        if (data == null) {
            JSONObject o = getJSONObject();
            if (o != null) {
                data = new Data(o);
            }
        }
        return data;
    }
380077
public java.lang.String getValue() {
    java.lang.Object ref = value_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        value_ = s;
      }
      return s;
    }
  }
369530
public Point<Object> getValues(Point<Integer> locations) {
    Point<Object>	result;
    Object[]		values;
    int		i;

    if (locations.dimensions() != dimensions())
      throw new IllegalArgumentException(
        "Dimension mismatch: space=" + dimensions()
          + ", locations=" + locations.dimensions());

    values = new Object[locations.dimensions()];
    for (i = 0; i < values.length; i++)
      values[i] = getDimension(i).getValue(locations.getValue(i));

    result = new Point<Object>(values);

    return result;
  }
193020
public CmsDataViewValue getValue() {

        return new CmsDataViewValue(
            getString(CmsDataViewConstants.VALUE_ID),
            getString(CmsDataViewConstants.VALUE_TITLE),
            getString(CmsDataViewConstants.VALUE_DESCRIPTION),
            getString(CmsDataViewConstants.VALUE_DATA));

    }
609092
public Class<?> getType() {
        Class<?> tmp = parameterClassCache;
        if (null == tmp) {
            tmp = executable.getParameterTypes()[index];
            parameterClassCache = tmp;
        }
        return tmp;
    }
388595
public Object getData() 
    {
        Object objKey = this.getField().getData();
        Object objValue = null;
        if (this.isCacheValue(objKey))
            objValue = this.getCacheValue(objKey);
        else
        {
            objValue = super.getData();
            this.cacheValue(objKey, objValue);
        }
        return objValue;
    }