java.util.SimpleTimeZone.hashCode() 方法


java.util.SimpleTimeZone.hashCode() 方法

package com.codingdict;

import java.util.*;

public class SimpleTimeZoneDemo {
   public static void main( String args[] ) {

      // create simple time zone object
      SimpleTimeZone stobj = new SimpleTimeZone(820,"US");

      // get hash code
      int hashcode = stobj.hashCode();

      // check hash code value       
      System.out.println("Hash code is : " + hashcode);
   }     
}