Skip to topic | Skip to bottom
Minfo06.GlooTD2Exempler1.1 - 29 Sep 2006 - 13:16 - PhilippeCollettopic end

Start of topic | Skip to actions

Exemples de sortie de l'analyseur de classes

Classe non générique analysée en utilisant les primitives du JDK 1.4

Entrez le nom d'une classe (ex : java.util.Date): java.util.Date 

public class java.util.Date implements interface, interface java.lang.Cloneable, interface java.lang.Comparable { 
   private transient java.util.Calendar cal; 
   private transient long fastTime; 
   private static java.util.Calendar staticCal;    
   private static java.util.Calendar utcCal; 
   private static int defaultCenturyStart;    
   private static final long serialVersionUID; 
   private static java.lang.ref.SoftReference simpleFormatter; 
   private static java.lang.ref.SoftReference gmtFormatter; 
   private    static final [Ljava.lang.String; wtb; 
   private static final [I ttb; 

   public java.util.Date(int, int, int){} 
   public java.util.Date(int, int, int, int, int){} 
   public java.util.Date(int, int, int, int, int, int){} 
   public java.util.Date(long){} 
   public java.util.Date(java.lang.String){}    
   public java.util.Date(){} 

   public int hashCode(){} 
   public int compareTo(java.util.Date){}    
   public int compareTo(java.lang.Object){} 
   public boolean equals(java.lang.Object){}    
   public java.lang.Object clone(){} 
   public java.lang.String toString(){} 
   private final int getField(int){} 
   private void writeObject( throws class{} 
   private void readObject( throws class, class java.lang.ClassNotFoundException{} 
   private final void setField(int, int){} 
   public int getDate(){} 
   public static long parse(java.lang.String){}    
   public static long UTC(int, int, int, int, int, int){} 
   public int getYear(){}    
   public void setYear(int){} 
   public int getMonth(){} 
   public void setMonth(int){}    
   public void setDate(int){} 
   public int getDay(){} 
   public int getHours(){} 
   public void setHours(int){} 
   public int getMinutes(){} 
   public void setMinutes(int){}    
   public int getSeconds(){} 
   public void setSeconds(int){} 
   public long getTime(){}    
   public void setTime(long){} 
   public boolean before(java.util.Date){} 
   public boolean after(java.util.Date){} 
   public java.lang.String toLocaleString(){} 
   public java.lang.String toGMTString(){} 
   public int getTimezoneOffset(){} 
   private static synchronized    
   void makeStaticCalendars(){} 

Classe générique analysée en utilisant les primitives de Java 5

public class java.util.HashMap <K, V> extends java.util.AbstractMap <K, V> implements java.util.Map <K, V>, java.lang.Cloneable, {

   static final int DEFAULT_INITIAL_CAPACITY;
   static final int MAXIMUM_CAPACITY;
   static final float DEFAULT_LOAD_FACTOR;
   transient [Ljava.util.HashMap$Entry; table;
   transient int size;
    int threshold;
   final float loadFactor;
   transient volatile int modCount;
   static final java.lang.Object NULL_KEY;
   private static final boolean useNewHash;
   private transient java.util.Set <E> entrySet;
   private static final long serialVersionUID;

   public java.util.HashMap <K, V>(){}
   public java.util.HashMap <K, V>(java.util.Map <K, V>){}
   public java.util.HashMap <K, V>(int, float){}
   public java.util.HashMap <K, V>(int){}

   public java.lang.Object put(java.lang.Object, java.lang.Object){}
   public java.lang.Object clone(){}
   public void clear(){}
   public java.util.Set <E> entrySet(){}
   public java.lang.Object get(java.lang.Object){}
   public void putAll(java.util.Map <K, V>){}
   public int size(){}
   public java.util.Collection <E> values(){}
   public java.lang.Object remove(java.lang.Object){}
   public boolean containsKey(java.lang.Object){}
   public boolean containsValue(java.lang.Object){}
   public boolean isEmpty(){}
   public java.util.Set <E> keySet(){}
   public int hashCode(){}
   public boolean equals(java.lang.Object){}
   public java.lang.String toString(){}
   public final native java.lang.Class <T> getClass(){}
   public final void wait() throws java.lang.InterruptedException{}
   public final void wait(long, int) throws java.lang.InterruptedException{}
   public final native void wait(long) throws java.lang.InterruptedException{}
   public final native void notify(){}
   public final native void notifyAll(){}

-- PhilippeCollet - 29 Sep 2006
to top

You are here: Minfo06 > GLOO > GlooTD2 > GlooTD2Exemple

to top

Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WIKIDeptinfo? Send feedback