Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   =================== DO NOT EDIT THIS FILE ====================
   Generated by Modello 1.4.1 on 2011-04-25 14:05:00,
   any modifications will be overwritten.
   ==============================================================
   */
  
  package org.sonatype.nexus.rest.model;

NFC Statistics.

Version:
$Revision$ $Date$
 
 @SuppressWarnings"all" )
 @javax.xml.bind.annotation.XmlType( name = "nfc-stats" )
 public class NFCStats
     implements java.io.Serializable
 {
 
       //--------------------------/
      //- Class/Member Variables -/
     //--------------------------/
 
    
The number of paths stored in the NFC.
 
     private long size = 0L;

    
The number of checks against this NFC that have found matches
 
     private long hits = 0L;

    
The number of checks against this NFC that have not found matches.
 
     private long misses = 0L;
 
 
       //-----------/
      //- Methods -/
     //-----------/
 
    
Get the number of checks against this NFC that have found matches.

Returns:
long
 
     public long getHits()
     {
         return this.;
     } //-- long getHits()
 
    
Get the number of checks against this NFC that have not found matches.

Returns:
long
 
     public long getMisses()
     {
         return this.;
     } //-- long getMisses()
 
    
Get the number of paths stored in the NFC.

Returns:
long
 
     public long getSize()
     {
         return this.;
     } //-- long getSize()
 
    
Set the number of checks against this NFC that have found matches.

Parameters:
hits
 
     public void setHitslong hits )
     {
         this. = hits;
     } //-- void setHits( long )
 
    
Set the number of checks against this NFC that have not found matches.

Parameters:
misses
 
     public void setMisseslong misses )
     {
         this. = misses;
     } //-- void setMisses( long )

    
Set the number of paths stored in the NFC.

Parameters:
size
    public void setSizelong size )
    {
        this. = size;
    } //-- void setSize( long )
New to GrepCode? Check out our FAQ X