com.cedarsoftware.util.convert.CommonValues Maven / Gradle / Ivy
package com.cedarsoftware.util.convert;
/**
* @author Kenny Partlow ([email protected])
*
* Copyright (c) Cedar Software LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* License
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
public final class CommonValues {
private CommonValues() {}
public static final Byte BYTE_ZERO = (byte) 0;
public static final Byte BYTE_ONE = (byte) 1;
public static final Short SHORT_ZERO = (short) 0;
public static final Short SHORT_ONE = (short) 1;
public static final Integer INTEGER_ZERO = 0;
public static final Integer INTEGER_ONE = 1;
public static final Long LONG_ZERO = 0L;
public static final Long LONG_ONE = 1L;
public static final Float FLOAT_ZERO = 0.0f;
public static final Float FLOAT_ONE = 1.0f;
public static final Double DOUBLE_ZERO = 0.0d;
public static final Double DOUBLE_ONE = 1.0d;
public static final Character CHARACTER_ZERO = (char)0;
public static final Character CHARACTER_ONE = (char)1;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy