KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > python > core > PySingleton


1 // Copyright (c) Corporation for National Research Initiatives
2
package org.python.core;
3
4 public class PySingleton extends PyObject
5 {
6     private String JavaDoc name;
7
8     public PySingleton(String JavaDoc name) {
9         this.name = name;
10     }
11
12     public String JavaDoc toString() {
13         return name;
14     }
15 }
16
Popular Tags