Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
V
W
A
AbstractEnum
- class net.walend.enum.
AbstractEnum
.
A utility class that implements all of Enum's methods by delegating them to an underlying immutable Set.
AbstractEnum(Set)
- Constructor for class net.walend.enum.
AbstractEnum
ADD
- Static variable in class net.walend.enum.test.
Operations
add(Object)
- Method in class net.walend.enum.
AbstractEnum
This method always throws an UnsupportedOperationException.
addAll(Collection)
- Method in class net.walend.enum.
AbstractEnum
This method always throws an UnsupportedOperationException.
addMember(SingletonInfo)
- Method in class net.walend.enum.generator.
EnumInfo
addMember(SingletonInfo, Element)
- Method in class net.walend.enum.generator.
EnumInfoBuilder
addMembers(EnumInfo, Element)
- Method in class net.walend.enum.generator.
EnumInfoBuilder
B
buildEnum(EnumInfo, Writer)
- Method in class net.walend.enum.generator.
EnumSourceBuilder
C
classname
- Variable in class net.walend.enum.generator.
SingletonInfo
classnameCaps
- Variable in class net.walend.enum.generator.
SingletonInfo
clear()
- Method in class net.walend.enum.
AbstractEnum
This method always throws an UnsupportedOperationException.
codeMap
- Variable in class net.walend.enum.generator.
SingletonInfo
contains(Object)
- Method in class net.walend.enum.
AbstractEnum
containsAll(Collection)
- Method in class net.walend.enum.
AbstractEnum
createMemberSegment(SingletonInfo)
- Method in class net.walend.enum.generator.
EnumSourceBuilder
D
DEFAULTAUTHOR
- Static variable in class net.walend.enum.generator.
EnumInfo
DEFAULTAUTHOR
- Static variable in class net.walend.enum.generator.
EnumSourceBuilder
DEFAULTLICENSE
- Static variable in class net.walend.enum.generator.
EnumInfo
DEFAULTLICENSE
- Static variable in class net.walend.enum.generator.
EnumSourceBuilder
DEFAULTSUPERCLASS
- Static variable in class net.walend.enum.generator.
EnumInfo
doIt(File, File)
- Static method in class net.walend.enum.generator.
Main
Call this method from within your own code to avoid System.exit(-1) if something goes wrong.
doIt(String[])
- Static method in class net.walend.enum.generator.
Main
Call this method from within your own code to avoid System.exit(-1) if something goes wrong.
E
Enum
- interface net.walend.enum.
Enum
.
A container for a Set of static values similar to a C enum.
EnumGeneratorTests
- class net.walend.enum.generator.test.
EnumGeneratorTests
.
EnumGeneratorTests(String)
- Constructor for class net.walend.enum.generator.test.
EnumGeneratorTests
EnumInfo
- class net.walend.enum.generator.
EnumInfo
.
Holds information for creating an Enum.
EnumInfo()
- Constructor for class net.walend.enum.generator.
EnumInfo
EnumInfoBuilder
- class net.walend.enum.generator.
EnumInfoBuilder
.
Gathers up the info and constructs an EnumInfo object for an EnumSourceBuilder.
EnumInfoBuilder()
- Constructor for class net.walend.enum.generator.
EnumInfoBuilder
EnumSourceBuilder
- class net.walend.enum.generator.
EnumSourceBuilder
.
Builds the Enums from an XML spec into .java source files.
EnumSourceBuilder()
- Constructor for class net.walend.enum.generator.
EnumSourceBuilder
EnumTests
- class net.walend.enum.test.
EnumTests
.
EnumTests(String)
- Constructor for class net.walend.enum.test.
EnumTests
equals(Object)
- Method in class net.walend.enum.
AbstractEnum
eval(int, int)
- Method in class net.walend.enum.test.
Operation
eval(int, int)
- Method in class net.walend.enum.test.
Operations.Add
execute()
- Method in class net.walend.enum.anttask.
JEnumTask
extendsString
- Variable in class net.walend.enum.generator.
SingletonInfo
extractCData(Element)
- Method in class net.walend.enum.generator.
EnumInfoBuilder
F
FINAL
- Static variable in class net.walend.enum.generator.
SingletonInfo
FINAL
- Static variable in class net.walend.enum.generator.
EnumInfo
finalFlag
- Variable in class net.walend.enum.generator.
SingletonInfo
G
gatherInfo(File)
- Method in class net.walend.enum.generator.
EnumInfoBuilder
getClassname()
- Method in class net.walend.enum.generator.
SingletonInfo
getClassnameCaps()
- Method in class net.walend.enum.generator.
SingletonInfo
getCodeMap()
- Method in class net.walend.enum.generator.
SingletonInfo
getExtends()
- Method in class net.walend.enum.generator.
SingletonInfo
getFinalString()
- Method in class net.walend.enum.generator.
SingletonInfo
getImplements()
- Method in class net.walend.enum.generator.
SingletonInfo
getMemberAdds()
- Method in class net.walend.enum.generator.
EnumInfo
getMemberCountAsString()
- Method in class net.walend.enum.generator.
EnumInfo
getMemberInfos()
- Method in class net.walend.enum.generator.
EnumInfo
getMembersString()
- Method in class net.walend.enum.generator.
EnumInfo
getName()
- Method in class net.walend.enum.test.
Operation
getPackagename()
- Method in class net.walend.enum.generator.
EnumInfo
H
hashCode()
- Method in class net.walend.enum.
AbstractEnum
hasNext()
- Method in class net.walend.enum.
IteratorOfImmutable
I
Immutable
- interface net.walend.enum.
Immutable
.
If a class is declared final, has no mutator methods and no visible variable members, it should implement this marker interface.
ImmutableTest
- class net.walend.enum.test.
ImmutableTest
.
ImmutableTest(String)
- Constructor for class net.walend.enum.test.
ImmutableTest
implementsString
- Variable in class net.walend.enum.generator.
SingletonInfo
inFile
- Variable in class net.walend.enum.anttask.
JEnumTask
initVelocity()
- Method in class net.walend.enum.generator.
EnumSourceBuilder
isEmpty()
- Method in class net.walend.enum.
AbstractEnum
IT
- Static variable in class net.walend.enum.test.
Operations
IT
- Static variable in class net.walend.enum.test.
Operations.Add
IT
- Static variable in class net.walend.enum.generator.
EnumInfoBuilder
IT
- Static variable in class net.walend.enum.generator.
EnumSourceBuilder
iterator()
- Method in class net.walend.enum.
AbstractEnum
IteratorOfImmutable
- class net.walend.enum.
IteratorOfImmutable
.
Use this class to wrap Iterators when the Collection is Immutable.
IteratorOfImmutable(Iterator)
- Constructor for class net.walend.enum.
IteratorOfImmutable
J
JEnumTask
- class net.walend.enum.anttask.
JEnumTask
.
An ant task for driving JEnum.
JEnumTask()
- Constructor for class net.walend.enum.anttask.
JEnumTask
L
loadEnumInfo(VelocityContext, EnumInfo)
- Method in class net.walend.enum.generator.
EnumSourceBuilder
loadSingletonInfo(VelocityContext, SingletonInfo)
- Method in class net.walend.enum.generator.
EnumSourceBuilder
M
Main
- class net.walend.enum.generator.
Main
.
A class to hold the main() method and get things started.
Main()
- Constructor for class net.walend.enum.generator.
Main
main(String[])
- Static method in class net.walend.enum.generator.
Main
MainTest
- class net.walend.enum.generator.test.
MainTest
.
MainTest(String)
- Constructor for class net.walend.enum.generator.test.
MainTest
Member
- interface net.walend.enum.
Member
.
A member of an Enum.
memberAdds
- Variable in class net.walend.enum.generator.
EnumInfo
memberInfoList
- Variable in class net.walend.enum.generator.
EnumInfo
membersString
- Variable in class net.walend.enum.generator.
EnumInfo
N
name
- Variable in class net.walend.enum.test.
Operation
net.walend.enum
- package net.walend.enum
This package contains runtime classes for supporting enumerated types as described in Josh Bloch's Effective Java, Item 21.
net.walend.enum.anttask
- package net.walend.enum.anttask
net.walend.enum.generator
- package net.walend.enum.generator
This package contains a simple code generator to create Enums quickly from XML files.
net.walend.enum.generator.test
- package net.walend.enum.generator.test
net.walend.enum.generator.test2
- package net.walend.enum.generator.test2
net.walend.enum.test
- package net.walend.enum.test
next()
- Method in class net.walend.enum.
IteratorOfImmutable
O
Operation
- class net.walend.enum.test.
Operation
.
Operation holds a mathematical operation.
Operation(String)
- Constructor for class net.walend.enum.test.
Operation
Operations
- class net.walend.enum.test.
Operations
.
Operations is an Enum of mathematical operations I use as a test case.
Operations.Add
- class net.walend.enum.test.
Operations.Add
.
Operations.Add()
- Constructor for class net.walend.enum.test.
Operations.Add
Operations(Set)
- Constructor for class net.walend.enum.test.
Operations
OperationsTest
- class net.walend.enum.test.
OperationsTest
.
A test of the Operations and Operation classes.
OperationsTest
- class net.walend.enum.generator.test2.
OperationsTest
.
A test of the Operations and Operation classes.
OperationsTest(String)
- Constructor for class net.walend.enum.test.
OperationsTest
OperationsTest(String)
- Constructor for class net.walend.enum.generator.test2.
OperationsTest
outFile
- Variable in class net.walend.enum.anttask.
JEnumTask
P
packagename
- Variable in class net.walend.enum.generator.
EnumInfo
R
readResolve()
- Method in class net.walend.enum.test.
Operations
Singleton serialization
readResolve()
- Method in class net.walend.enum.test.
Operations.Add
Singleton serialization
remove()
- Method in class net.walend.enum.
IteratorOfImmutable
remove(Object)
- Method in class net.walend.enum.
AbstractEnum
This method always throws an UnsupportedOperationException.
removeAll(Collection)
- Method in class net.walend.enum.
AbstractEnum
This method always throws an UnsupportedOperationException.
retainAll(Collection)
- Method in class net.walend.enum.
AbstractEnum
This method always throws an UnsupportedOperationException.
S
set
- Variable in class net.walend.enum.
AbstractEnum
setClassname(String)
- Method in class net.walend.enum.generator.
SingletonInfo
setCodeSegment(String, String)
- Method in class net.walend.enum.generator.
SingletonInfo
setExtends(String)
- Method in class net.walend.enum.generator.
SingletonInfo
setFinal(boolean)
- Method in class net.walend.enum.generator.
SingletonInfo
setImplements(String)
- Method in class net.walend.enum.generator.
SingletonInfo
setInFile(File)
- Method in class net.walend.enum.anttask.
JEnumTask
setMembersString(String)
- Method in class net.walend.enum.generator.
EnumInfo
setOutFile(File)
- Method in class net.walend.enum.anttask.
JEnumTask
setPackagename(String)
- Method in class net.walend.enum.generator.
EnumInfo
setSingletonInfo(SingletonInfo, Element)
- Method in class net.walend.enum.generator.
EnumInfoBuilder
setVelocityLog(File)
- Method in class net.walend.enum.anttask.
JEnumTask
Singleton
- interface net.walend.enum.
Singleton
.
Classes that implement this interface are Singletons.
SingletonInfo
- class net.walend.enum.generator.
SingletonInfo
.
Holds information for creating a Singleton.
SingletonInfo()
- Constructor for class net.walend.enum.generator.
SingletonInfo
size()
- Method in class net.walend.enum.
AbstractEnum
suite()
- Static method in class net.walend.enum.test.
EnumTests
suite()
- Static method in class net.walend.enum.test.
OperationsTest
suite()
- Static method in class net.walend.enum.generator.test.
EnumGeneratorTests
suite()
- Static method in class net.walend.enum.generator.test.
MainTest
suite()
- Static method in class net.walend.enum.generator.test2.
OperationsTest
T
testContains()
- Method in class net.walend.enum.test.
OperationsTest
testContains()
- Method in class net.walend.enum.generator.test2.
OperationsTest
testContains(Enum, Set)
- Method in class net.walend.enum.test.
OperationsTest
testContains(Enum, Set)
- Method in class net.walend.enum.generator.test2.
OperationsTest
testContents()
- Method in class net.walend.enum.test.
OperationsTest
testContents()
- Method in class net.walend.enum.generator.test2.
OperationsTest
testContents(Enum, Set)
- Method in class net.walend.enum.test.
OperationsTest
testContents(Enum, Set)
- Method in class net.walend.enum.generator.test2.
OperationsTest
testImmutable()
- Method in class net.walend.enum.test.
OperationsTest
testImmutable()
- Method in class net.walend.enum.generator.test2.
OperationsTest
testImmutable(Object, boolean)
- Method in class net.walend.enum.test.
ImmutableTest
testMain()
- Method in class net.walend.enum.generator.test.
MainTest
testSize()
- Method in class net.walend.enum.test.
OperationsTest
testSize()
- Method in class net.walend.enum.generator.test2.
OperationsTest
testSize(Enum, int)
- Method in class net.walend.enum.test.
OperationsTest
testSize(Enum, int)
- Method in class net.walend.enum.generator.test2.
OperationsTest
testToString()
- Method in class net.walend.enum.test.
OperationsTest
testToString()
- Method in class net.walend.enum.generator.test2.
OperationsTest
testValues()
- Method in class net.walend.enum.test.
OperationsTest
testValues()
- Method in class net.walend.enum.generator.test2.
OperationsTest
testValues(Enum, Set)
- Method in class net.walend.enum.test.
OperationsTest
testValues(Enum, Set)
- Method in class net.walend.enum.generator.test2.
OperationsTest
toArray()
- Method in class net.walend.enum.
AbstractEnum
toArray(Object[])
- Method in class net.walend.enum.
AbstractEnum
toString()
- Method in class net.walend.enum.
AbstractEnum
toString()
- Method in class net.walend.enum.test.
Operation
toString()
- Method in class net.walend.enum.generator.
SingletonInfo
toString()
- Method in class net.walend.enum.generator.
EnumInfo
V
velocityLog
- Variable in class net.walend.enum.anttask.
JEnumTask
W
wrapped
- Variable in class net.walend.enum.
IteratorOfImmutable
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright (c) 2001, 2002, David Walend