/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | WeakIdentityMap.java | 48 private int threshold = 6; // the next size value at which to resize 49 private int size = 0; // the number of key-value mappings field in class:WeakIdentityMap 81 if (++this.size >= this.threshold) { 93 if (this.size >= this.threshold / 2) { 124 this.size--; 143 this.size--;
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | BufferedInputStream.java | 58 * a different size. 180 * with the specified buffer size, 183 * buffer array of length <code>size</code> 187 * @param size the buffer size. 188 * @exception IllegalArgumentException if size <= 0. 190 public BufferedInputStream(InputStream in, int size) { argument 192 if (size <= 0) { 193 throw new IllegalArgumentException("Buffer size <= 0"); 195 buf = new byte[size]; [all...] |
H A D | ByteArrayOutputStream.java | 59 * initially 32 bytes, though its size increases if necessary. 67 * the specified size, in bytes. 69 * @param size the initial size. 70 * @exception IllegalArgumentException if size is negative. 72 public ByteArrayOutputStream(int size) { argument 73 if (size < 0) { 74 throw new IllegalArgumentException("Negative initial size: " 75 + size); 77 buf = new byte[size]; 188 public synchronized int size() { method in class:ByteArrayOutputStream [all...] |
H A D | CharArrayWriter.java | 62 * Creates a new CharArrayWriter with the specified initial size. 64 * @param initialSize an int specifying the initial buffer size. 69 throw new IllegalArgumentException("Negative initial size: " 250 * Returns the current size of the buffer. 252 * @return an int representing the current size of the buffer. 254 public int size() { method in class:CharArrayWriter
|
H A D | PushbackInputStream.java | 79 * with a pushback buffer of the specified <code>size</code>, 87 * @param size the size of the pushback buffer. 88 * @exception IllegalArgumentException if size is <= 0 91 public PushbackInputStream(InputStream in, int size) { argument 93 if (size <= 0) { 94 throw new IllegalArgumentException("size <= 0"); 96 this.buf = new byte[size]; 97 this.pos = size;
|
H A D | PushbackReader.java | 46 * Creates a new pushback reader with a pushback buffer of the given size. 49 * @param size The size of the pushback buffer 50 * @exception IllegalArgumentException if size is <= 0 52 public PushbackReader(Reader in, int size) { argument 54 if (size <= 0) { 55 throw new IllegalArgumentException("size <= 0"); 57 this.buf = new char[size]; 58 this.pos = size;
|
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | AsynchronousFileChannel.java | 45 * current size can be {@link #size() queried}. The size of the file increases 46 * when bytes are written beyond its current size; the size of the file decreases 141 * size of 0 bytes. This option is ignored when the file is opened only 304 * Returns the current size of this channel's file. 306 * @return The current size of this channel's file, measured in bytes 313 public abstract long size() throws IOException; method in class:AsynchronousFileChannel 316 * Truncates this channel's file to the given size 340 truncate(long size) argument 454 lock(long position, long size, boolean shared, A attachment, CompletionHandler<FileLock,? super A> handler) argument 527 lock(long position, long size, boolean shared) argument 601 tryLock(long position, long size, boolean shared) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | AbstractCollection.java | 34 * <tt>size</tt> methods. (The iterator returned by the <tt>iterator</tt> 78 public abstract int size(); method in class:AbstractCollection 83 * <p>This implementation returns <tt>size() == 0</tt>. 86 return size() == 0; 119 * returned by the iterator, even if the size of this collection changes 121 * concurrent modification during iteration. The {@code size} method is 128 * List<E> list = new ArrayList<E>(size()); 135 // Estimate size of array; be prepared to see more or fewer elements 136 Object[] r = new Object[size()]; 155 * returned by the iterator, even if the size o [all...] |
H A D | Collection.java | 137 int size(); method in interface:Collection 197 * specified array and the size of this collection.
|
H A D | HashSet.java | 36 * (<tt>add</tt>, <tt>remove</tt>, <tt>contains</tt> and <tt>size</tt>), 39 * the <tt>HashSet</tt> instance's size (the number of elements) plus the 116 map = new HashMap<>(Math.max((int) (c.size()/.75f) + 1, 16)); 178 public int size() { method in class:HashSet 179 return map.size(); 266 * the size of the set (the number of elements it contains) 279 // Write out size 280 s.writeInt(map.size()); 303 // Read in size 304 int size [all...] |
H A D | Map.java | 127 int size(); method in interface:Map 160 * will probably require time linear in the map size for most
|
H A D | Set.java | 95 int size(); method in interface:Set 153 * specified array and the size of this set. 360 * have the same size, and every member of the specified set is
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | CopyOnWriteArraySet.java | 119 public int size() { method in class:CopyOnWriteArraySet 120 return al.size(); 170 * specified array and the size of this set.
|
/openjdk7/jdk/src/share/classes/java/util/logging/ |
H A D | MemoryHandler.java | 63 * <li> java.util.logging.MemoryHandler.size 64 * defines the buffer size (defaults to 1000). 78 private int size; field in class:MemoryHandler 91 size = manager.getIntProperty(cname + ".size", DEFAULT_SIZE); 92 if (size <= 0) { 93 size = DEFAULT_SIZE; 123 buffer = new LogRecord[size]; 133 * argument and buffer size argument are used. 136 * @param size th 141 MemoryHandler(Handler target, int size, Level pushLevel) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | GZIPOutputStream.java | 50 * Trailer size in bytes. 56 * Creates a new output stream with the specified buffer size. 59 * the 3-argument constructor GZIPOutputStream(out, size, false). 62 * @param size the output buffer size 64 * @exception IllegalArgumentException if size is <= 0 67 public GZIPOutputStream(OutputStream out, int size) throws IOException { argument 68 this(out, size, false); 72 * Creates a new output stream with the specified buffer size and 76 * @param size th 88 GZIPOutputStream(OutputStream out, int size, boolean syncFlush) argument [all...] |
H A D | InflaterInputStream.java | 74 * buffer size. 77 * @param size the input buffer size 78 * @exception IllegalArgumentException if size is <= 0 80 public InflaterInputStream(InputStream in, Inflater inf, int size) { argument 84 } else if (size <= 0) { 85 throw new IllegalArgumentException("buffer size <= 0"); 88 buf = new byte[size]; 93 * default buffer size. 104 * Creates a new input stream with a default decompressor and buffer size [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/ |
H A D | ImageReadParam.java | 70 * applied to an image as follows. First, if a rendering size has 72 * image is rendered at the size given by 74 * natural size given by <code>ImageReader.getWidth</code> and 122 * (<i>e.g.</i> source render size is optional, but subsampling must be 139 * the source render size should set this value to 150 * the source render size may ignore this value. 321 * image to be rendered at an arbitrary size as part of the 328 * @return <code>true</code> if setting source rendering size is 338 * If the image is able to be rendered at an arbitrary size, sets 343 * default size fo 372 setSourceRenderSize(Dimension size) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/imageio/spi/ |
H A D | PartiallyOrderedSet.java | 71 public int size() { method in class:PartiallyOrderedSet 72 return nodes.size();
|
/openjdk7/jdk/src/share/classes/javax/management/openmbean/ |
H A D | TabularData.java | 92 public int size() ; method in interface:TabularData
|
/openjdk7/jdk/src/share/classes/javax/naming/ |
H A D | Name.java | 108 public int size(); method in interface:Name 133 * Must be in the range [0,size()). 147 * Must be in the range [0,size()]. 162 * Must be in the range [0,size()]. 164 * the range [posn,size()). If posn is equal to 165 * size(), an empty name is returned. 174 * <tt>getPrefix(n.size())</tt>. 185 * <tt>getSuffix(size()-n.size())</tt>. 217 * components. Must be in the range [0,size()] [all...] |
H A D | Reference.java | 225 int len = addrs.size(); 266 public int size() { method in class:Reference 267 return addrs.size(); 333 target.size() == this.size()) { 369 int len = addrs.size();
|
/openjdk7/jdk/src/share/classes/javax/naming/directory/ |
H A D | Attribute.java | 120 int size(); method in interface:Attribute 268 * 0 <= <tt>ix</tt> < <tt>size()</tt>. 287 * 0 <= <tt>ix</tt> < <tt>size()</tt>. 305 * 0 <= <tt>ix</tt> <= <tt>size()</tt>. 325 * 0 <= <tt>ix</tt> < <tt>size()</tt>.
|
/openjdk7/hotspot/src/share/vm/code/ |
H A D | icBuffer.hpp | 46 int _size; // total size of the stub incl. code 52 void initialize(int size, argument 53 CodeStrings strings) { _size = size; _ic_site = NULL; } 57 int size() const { return _size; } function in class:ICStub 66 address code_end() const { return (address)this + size(); }
|
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/ |
H A D | freeChunk.hpp | 47 // and has a size field. NOTE: FreeChunks are distinguished from allocated 59 // For 64 bit compressed oops, the markOop encodes both the size and the 102 size_t size() const volatile { function in class:VALUE_OBJ_CLASS_SPEC 136 HeapWord* end() const { return ((HeapWord*) this) + size(); } 141 void mangleAllocated(size_t size) PRODUCT_RETURN; 142 void mangleFreed(size_t size) PRODUCT_RETURN;
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | psPermGen.cpp | 47 HeapWord* PSPermGen::allocate_permanent(size_t size) { argument 49 HeapWord* obj = allocate_noexpand(size); 52 obj = expand_and_allocate(size); 75 // Compute the desired size: 77 // so the desired size is what's live + the free space. 116 gclog_or_tty->print_cr("AdaptiveSizePolicy::perm generation size: "
|