-//
-// Copyright (c) 2013 Ford Motor Company
-//
-package com.smartdevicelink.protocol.enums;
-
-import java.util.Vector;
-
-import com.smartdevicelink.util.ByteEnumer;
-
-public class FrameType extends ByteEnumer {
-
- private static Vector theList = new Vector();
- public static Vector getList() { return theList; }
-
- byte i = 0x00;
-
- protected FrameType(byte value, String name) {super(value, name);}
- public final static FrameType Control = new FrameType((byte)0x00, "Control");
- public final static FrameType Single = new FrameType((byte)0x01, "Single");
- public final static FrameType First = new FrameType((byte)0x02, "First");
- public final static FrameType Consecutive = new FrameType((byte)0x03, "Consecutive");
-
- static {
- theList.addElement(Control);
- theList.addElement(Single);
- theList.addElement(First);
- theList.addElement(Consecutive);
- }
-
- public static FrameType valueOf(byte passed) {
- return (FrameType) get(theList, passed);
- }
-
- public static FrameType[] values() {
- return (FrameType[]) theList.toArray();
- }
-}
+package com.smartdevicelink.protocol.enums;\r
+\r
+import java.util.Vector;\r
+\r
+import com.smartdevicelink.util.ByteEnumer;\r
+\r
+public class FrameType extends ByteEnumer {\r
+\r
+ private static Vector theList = new Vector();\r
+ public static Vector getList() { return theList; } \r
+ \r
+ byte i = 0x00;\r
+ \r
+ protected FrameType(byte value, String name) {super(value, name);}\r
+ public final static FrameType Control = new FrameType((byte)0x00, "Control");\r
+ public final static FrameType Single = new FrameType((byte)0x01, "Single");\r
+ public final static FrameType First = new FrameType((byte)0x02, "First");\r
+ public final static FrameType Consecutive = new FrameType((byte)0x03, "Consecutive");\r
+ \r
+ static {\r
+ theList.addElement(Control);\r
+ theList.addElement(Single);\r
+ theList.addElement(First);\r
+ theList.addElement(Consecutive);\r
+ }\r
+ \r
+ public static FrameType valueOf(byte passed) {\r
+ return (FrameType) get(theList, passed);\r
+ }\r
+ \r
+ public static FrameType[] values() {\r
+ return (FrameType[]) theList.toArray();\r
+ }\r
+}\r