summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/javax/print/attribute/AttributeSetUtilities.java
diff options
context:
space:
mode:
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-10 21:46:48 +0000
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-10 21:46:48 +0000
commitce57ab760f69de6db452def7ffbf5b114a2d8694 (patch)
treeea38c56431c5d4528fb54254c3f8e50f517bede3 /libjava/classpath/javax/print/attribute/AttributeSetUtilities.java
parent50996fe55769882de3f410896032c887f0ff0d04 (diff)
downloadppe42-gcc-ce57ab760f69de6db452def7ffbf5b114a2d8694.tar.gz
ppe42-gcc-ce57ab760f69de6db452def7ffbf5b114a2d8694.zip
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore. * gnu/classpath/jdwp/VMFrame.java (SIZE): New constant. * java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5. * java/lang/Math.java: New override file. * java/lang/Character.java: Merged from Classpath. (start, end): Now 'int's. (canonicalName): New field. (CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants. (UnicodeBlock): Added argument. (of): New overload. (forName): New method. Updated unicode blocks. (sets): Updated. * sources.am: Regenerated. * Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111942 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/javax/print/attribute/AttributeSetUtilities.java')
-rw-r--r--libjava/classpath/javax/print/attribute/AttributeSetUtilities.java52
1 files changed, 26 insertions, 26 deletions
diff --git a/libjava/classpath/javax/print/attribute/AttributeSetUtilities.java b/libjava/classpath/javax/print/attribute/AttributeSetUtilities.java
index 5d97c66f21a..f6a64ebc531 100644
--- a/libjava/classpath/javax/print/attribute/AttributeSetUtilities.java
+++ b/libjava/classpath/javax/print/attribute/AttributeSetUtilities.java
@@ -1,5 +1,5 @@
/* AttributeSetUtilities.java --
- Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -78,14 +78,14 @@ public final class AttributeSetUtilities
private static class UnmodifiableAttributeSet
implements AttributeSet, Serializable
{
- private AttributeSet set;
+ private AttributeSet attrset;
public UnmodifiableAttributeSet(AttributeSet attributeSet)
{
if (attributeSet == null)
throw new NullPointerException("attributeSet may not be null");
- this.set = attributeSet;
+ this.attrset = attributeSet;
}
public boolean add(Attribute attribute)
@@ -105,32 +105,32 @@ public final class AttributeSetUtilities
public boolean containsKey(Class category)
{
- return set.containsKey(category);
+ return attrset.containsKey(category);
}
public boolean containsValue(Attribute attribute)
{
- return set.containsValue(attribute);
+ return attrset.containsValue(attribute);
}
public boolean equals(Object obj)
{
- return set.equals(obj);
+ return attrset.equals(obj);
}
public Attribute get(Class interfaceName)
{
- return set.get(interfaceName);
+ return attrset.get(interfaceName);
}
public int hashCode()
{
- return set.hashCode();
+ return attrset.hashCode();
}
public boolean isEmpty()
{
- return set.isEmpty();
+ return attrset.isEmpty();
}
public boolean remove(Class category)
@@ -145,12 +145,12 @@ public final class AttributeSetUtilities
public int size()
{
- return set.size();
+ return attrset.size();
}
public Attribute[] toArray()
{
- return set.toArray();
+ return attrset.toArray();
}
}
@@ -197,79 +197,79 @@ public final class AttributeSetUtilities
private static class SynchronizedAttributeSet
implements AttributeSet, Serializable
{
- private AttributeSet set;
+ private AttributeSet attrset;
public SynchronizedAttributeSet(AttributeSet attributeSet)
{
if (attributeSet == null)
throw new NullPointerException("attributeSet may not be null");
- this.set = attributeSet;
+ attrset = attributeSet;
}
public synchronized boolean add(Attribute attribute)
{
- return set.add(attribute);
+ return attrset.add(attribute);
}
public synchronized boolean addAll(AttributeSet attributes)
{
- return set.addAll(attributes);
+ return attrset.addAll(attributes);
}
public synchronized void clear()
{
- set.clear();
+ attrset.clear();
}
public synchronized boolean containsKey(Class category)
{
- return set.containsKey(category);
+ return attrset.containsKey(category);
}
public synchronized boolean containsValue(Attribute attribute)
{
- return set.containsValue(attribute);
+ return attrset.containsValue(attribute);
}
public synchronized boolean equals(Object obj)
{
- return set.equals(obj);
+ return attrset.equals(obj);
}
public synchronized Attribute get(Class interfaceName)
{
- return set.get(interfaceName);
+ return attrset.get(interfaceName);
}
public synchronized int hashCode()
{
- return set.hashCode();
+ return attrset.hashCode();
}
public synchronized boolean isEmpty()
{
- return set.isEmpty();
+ return attrset.isEmpty();
}
public synchronized boolean remove(Class category)
{
- return set.remove(category);
+ return attrset.remove(category);
}
public synchronized boolean remove(Attribute attribute)
{
- return set.remove(attribute);
+ return attrset.remove(attribute);
}
public synchronized int size()
{
- return set.size();
+ return attrset.size();
}
public synchronized Attribute[] toArray()
{
- return set.toArray();
+ return attrset.toArray();
}
}
OpenPOWER on IntegriCloud