//------------------------------------------------------------------------------- // This package was automatically generated from EXPRESS (ISO STEP 10303 part11) // by a java generator build with the meta CASE tool Platypus // (alain.plantec@univ-brest.fr) // // Please, be aware that any hand-made updating of this file can be lost!!. //------------------------------------------------------------------------------- package CheddarBridge; public enum Cache_Replacement_Type { Random, LRU, LRR, FIFO; public static Cache_Replacement_Type fromString(String rep) throws Exception { if (rep.equals("Random")) return (Random); if (rep.equals("LRU")) return (LRU); if (rep.equals("LRR")) return (LRR); if (rep.equals("FIFO")) return (FIFO); throw new Exception("invalid Cache_Replacement_Type enum string representation (" + rep + ")"); } }