00001 package edu.rice.cs.hpc.data.experiment.scope; 00002 00003 /*public enum ScopeVisitType { 00004 PreVisit, PostVisit 00005 }*/ 00006 00007 /*public class ScopeVisitType { 00008 00009 public final static int PreVisit = 0; 00010 public final static int PostVisit = 1; 00011 00012 public int value; 00013 00014 public ScopeVisitType(int v) { value = v; }; 00015 public boolean isPreVisit() { return value == PreVisit; } 00016 public boolean isPostVisit() { return value == PostVisit; } 00017 }*/ 00018 00019 public class ScopeVisitType { 00020 00021 public final static ScopeVisitType PreVisit = new ScopeVisitType("PRE"); 00022 public final static ScopeVisitType PostVisit = new ScopeVisitType("POST"); 00023 public String toString() { return value; } 00024 00025 private String value; 00026 private ScopeVisitType(String value) { this.value = value; }; 00027 }