YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
cpw.mods.fml.common.versioning.Restriction Class Reference

Public Member Functions

 Restriction (ArtifactVersion lowerBound, boolean lowerBoundInclusive, ArtifactVersion upperBound, boolean upperBoundInclusive)
 
ArtifactVersion getLowerBound ()
 
boolean isLowerBoundInclusive ()
 
ArtifactVersion getUpperBound ()
 
boolean isUpperBoundInclusive ()
 
boolean containsVersion (ArtifactVersion version)
 
int hashCode ()
 
boolean equals (Object other)
 
String toString ()
 

Static Public Attributes

static final Restriction EVERYTHING = new Restriction( null, false, null, false )
 

Detailed Description

Describes a restriction in versioning.

Author
Brett Porter

Constructor & Destructor Documentation

cpw.mods.fml.common.versioning.Restriction.Restriction ( ArtifactVersion  lowerBound,
boolean  lowerBoundInclusive,
ArtifactVersion  upperBound,
boolean  upperBoundInclusive 
)

Member Function Documentation

boolean cpw.mods.fml.common.versioning.Restriction.containsVersion ( ArtifactVersion  version)
boolean cpw.mods.fml.common.versioning.Restriction.equals ( Object  other)
ArtifactVersion cpw.mods.fml.common.versioning.Restriction.getLowerBound ( )
ArtifactVersion cpw.mods.fml.common.versioning.Restriction.getUpperBound ( )
int cpw.mods.fml.common.versioning.Restriction.hashCode ( )
boolean cpw.mods.fml.common.versioning.Restriction.isLowerBoundInclusive ( )
boolean cpw.mods.fml.common.versioning.Restriction.isUpperBoundInclusive ( )
String cpw.mods.fml.common.versioning.Restriction.toString ( )

Member Data Documentation

final Restriction cpw.mods.fml.common.versioning.Restriction.EVERYTHING = new Restriction( null, false, null, false )
static

The documentation for this class was generated from the following file: