KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > snow > utils > CommentedBoolean


1 package snow.utils;
2
3 public final class CommentedBoolean
4 {
5   public boolean value ;
6   public String JavaDoc comment;
7   public CommentedBoolean(boolean value, String JavaDoc comment)
8   {
9     this.value = value;
10     this.comment = comment;
11   }
12
13   public static final CommentedBoolean trueC() {return new CommentedBoolean(true,null);}
14   public static final CommentedBoolean FalseC() {return new CommentedBoolean(false,null);}
15 // public static CommentedBoolean True(String why) {return new CommentedBoolean(true,why);}
16
public static final CommentedBoolean FalseC(String JavaDoc why) {return new CommentedBoolean(false,why);}
17
18 }
Popular Tags