143a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes/* 243a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * Copyright (C) 2010 The Android Open Source Project 343a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * 443a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * Licensed under the Apache License, Version 2.0 (the "License"); 543a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * you may not use this file except in compliance with the License. 643a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * You may obtain a copy of the License at 743a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * 843a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * http://www.apache.org/licenses/LICENSE-2.0 943a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * 1043a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * Unless required by applicable law or agreed to in writing, software 1143a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * distributed under the License is distributed on an "AS IS" BASIS, 1243a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1343a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * See the License for the specific language governing permissions and 1443a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes * limitations under the License. 1543a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes */ 1643a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes 1743a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughespackage libcore.io; 1843a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes 1943a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughespublic final class SizeOf { 2043a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes public static final int CHAR = 2; 2143a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes public static final int DOUBLE = 8; 2243a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes public static final int FLOAT = 4; 2343a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes public static final int INT = 4; 2443a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes public static final int LONG = 8; 2543a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes public static final int SHORT = 2; 2643a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes 2743a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes private SizeOf() { 2843a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes } 2943a9f774d075e0e441d8b996e3f6c81ea483ec89Elliott Hughes} 30