Searched defs:bound (Results 1 - 25 of 28) sorted by relevance

12

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJGenerifiableImpl.java64 public JTypeVar generify(String name, Class<?> bound) { argument
65 return generify(name,owner().ref(bound));
68 public JTypeVar generify(String name, JClass bound) { argument
69 return generify(name).bound(bound);
H A DJTypeWildcard.java48 private final JClass bound; field in class:JTypeWildcard
50 JTypeWildcard(JClass bound) { argument
51 super(bound.owner());
52 this.bound = bound;
56 return "? extends "+bound.name();
60 return "? extends "+bound.fullName();
68 * Returns the class bound of this variable.
71 * If no bound is given, this method returns {@link Object}.
74 if(bound!
[all...]
H A DJTypeVar.java42 private JClass bound; field in class:JTypeVar
62 * Adds a bound to this variable.
66 public JTypeVar bound( JClass c ) { method in class:JTypeVar
67 if(bound!=null)
68 throw new IllegalArgumentException("type variable has an existing class bound "+bound);
69 bound = c;
74 * Returns the class bound of this variable.
77 * If no bound is given, this method returns {@link Object}.
80 if(bound!
[all...]
H A DJDefinedClass.java840 public JTypeVar generify(String name, Class<?> bound) { argument
841 return generifiable.generify(name, bound);
843 public JTypeVar generify(String name, JClass bound) { argument
844 return generifiable.generify(name, bound);
/openjdk7/jdk/test/java/io/LineNumberInputStream/
H A DAvailable.java34 static void check(int a, int bound) throws Exception { argument
35 if (a > bound) {
36 throw new Exception("Available returned " + a + " > " + bound);
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/links/
H A DLinkFactory.java109 //be linking to the type bound.
149 private void setBoundsLinkInfo(LinkInfo linkInfo, Type bound) { argument
152 linkInfo.type = bound;
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DThreadLocalRandom.java135 * given least value (inclusive) and bound (exclusive).
138 * @param bound the upper bound (exclusive)
140 * to bound
143 public int nextInt(int least, int bound) { argument
144 if (least >= bound)
146 return nextInt(bound - least) + least;
153 * @param n the bound on the random number to be returned. Must be
180 * given least value (inclusive) and bound (exclusive).
183 * @param bound th
188 nextLong(long least, long bound) argument
219 nextDouble(double least, double bound) argument
[all...]
/openjdk7/jdk/src/share/classes/java/beans/
H A DPropertyDescriptor.java43 private boolean bound; field in class:PropertyDescriptor
113 // then we assume that any properties we discover are "bound".
116 this.bound = null != Introspector.findMethod(beanClass, "addPropertyChangeListener", args.length, args);
357 * Updates to "bound" properties will cause a "PropertyChange" event to
360 * @return True if this is a bound property.
363 return bound;
367 * Updates to "bound" properties will cause a "PropertyChange" event to
370 * @param bound True if this is a bound property.
372 public void setBound(boolean bound) { argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DDatagramSocket.java47 * broadcast packets a DatagramSocket should be bound to the wildcard address.
49 * a DatagramSocket is bound to a more specific address.
74 private boolean bound = false; field in class:DatagramSocket
108 * Binds socket if not already bound.
161 * on the local host machine. The socket will be bound to the
205 * Creates a datagram socket, bound to the specified local
237 * on the local host machine. The socket will be bound to the
260 * Creates a datagram socket, bound to the specified local
262 * If the IP address is 0.0.0.0, the socket will be bound to the
349 * socket is already bound
[all...]
H A DServerSocket.java57 private boolean bound = false; field in class:ServerSocket
91 * Creates a server socket, bound to the specified port. A port number
322 * is already bound.
351 * is already bound.
362 throw new SocketException("Already bound");
378 bound = true;
380 bound = false;
383 bound = false;
391 * If the socket was bound prior to being {@link #close closed},
395 * @return the address to which this socket is bound,
[all...]
H A DSocket.java60 private boolean bound = false; field in class:Socket
265 * @param localAddr the local address the socket is bound to, or
267 * @param localPort the local port the socket is bound to, or
303 * @param localAddr the local address the socket is bound to, or
305 * @param localPort the local port the socket is bound to or
589 * If the socket was not bound before the connect, it is now because
592 bound = true;
603 * is already bound.
614 throw new SocketException("Already bound");
628 bound
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DConnection.java125 private boolean bound = false; // Set in setBound() field in class:Connection
175 bound = true;
658 if (bound) {
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DServerSocketChannelImpl.java95 boolean bound)
102 if (bound)
93 ServerSocketChannelImpl(SelectorProvider sp, FileDescriptor fd, boolean bound) argument
H A DSocketChannelImpl.java111 boolean bound)
118 if (bound)
109 SocketChannelImpl(SelectorProvider sp, FileDescriptor fd, boolean bound) argument
/openjdk7/langtools/test/tools/javac/types/
H A DTypeHarness.java311 public TypeVar TypeVariable(Type bound) { argument
313 tvsym.type = new TypeVar(tvsym, bound, null);
317 public WildcardType Wildcard(BoundKind bk, Type bound) { argument
318 return new WildcardType(bound, bk, predef.boundClass);
/openjdk7/hotspot/src/share/vm/oops/
H A DobjArrayKlass.cpp131 klassOop bound = objArrayKlass::cast(d->klass())->element_klass(); local
133 if (stype == bound || Klass::cast(stype)->is_subtype_of(bound)) {
150 Klass::cast((new_val->klass()))->is_subtype_of(bound)) {
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/corba/
H A DTypeCodeImpl.java509 int bound)
514 if (bound < 0)
519 _length = bound;
525 int bound,
533 _length = bound;
540 int bound,
548 _length = bound;
732 // check for bound.
837 // check bound/length
1511 // get the bound o
507 TypeCodeImpl(ORB orb, int creationKind, int bound) argument
523 TypeCodeImpl(ORB orb, int creationKind, int bound, TypeCode element_type) argument
538 TypeCodeImpl(ORB orb, int creationKind, int bound, int offset) argument
[all...]
/openjdk7/corba/src/share/classes/org/omg/CORBA/
H A DORB.java813 * The <code>TypeCode</code> object is initialized with the given bound,
817 * @param bound the bound for the <code>string</code>; cannot be negative
820 * @exception BAD_PARAM if bound is a negative value
823 abstract public TypeCode create_string_tc(int bound); argument
828 * The <code>TypeCode</code> object is initialized with the given bound,
832 * @param bound the bound for the <code>wstring</code>; cannot be negative
835 * @exception BAD_PARAM if bound is a negative value
837 abstract public TypeCode create_wstring_tc(int bound); argument
851 create_sequence_tc(int bound, TypeCode element_type) argument
876 create_recursive_sequence_tc(int bound, int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DServerImpl.java68 private boolean bound = false; field in class:ServerImpl
101 bound = true;
126 if (bound) {
127 throw new BindException ("HttpServer already bound");
134 bound = true;
138 if (!bound || started || finished) {
/openjdk7/hotspot/src/share/vm/opto/
H A Difnode.cpp726 int bound = failtype->_hi - failtype->_lo + 1; local
727 if (failtype->_hi != max_jint && failtype->_lo != min_jint && bound > 1) {
731 Node* newcmp = phase->transform(new (phase->C) CmpUNode(adjusted, phase->intcon(bound)));
916 // Constant indices only need to check the upper bound.
H A Dchaitin.cpp628 // Check for bound register masks
817 // Check for bound register masks
1070 bool bound = lrgs(lo_score)._is_bound; local
1098 // In such case choose bound live range over unbound to free registers
1103 ( (ibound && !bound) || ibound == bound && (icost < cost) )) ) {
1108 bound = ibound;
1362 // If the live range is not bound, then we actually had some choices
1388 // Note that reg is the highest-numbered register in the newly-bound mask.
1950 print_reg( lrgs(lidx).reg(), this, buf ); // a bound machin
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_Runtime1.cpp1190 klassOop bound = objArrayKlass::cast(dst->klass())->element_klass(); local
1192 if (stype == bound || Klass::cast(stype)->is_subtype_of(bound)) {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DType.java438 public TypeVar bound; field in class:Type.WildcardType
450 public WildcardType(WildcardType t, TypeVar bound) { argument
451 this(t.type, t.kind, t.tsym, bound);
454 public WildcardType(Type type, BoundKind kind, TypeSymbol tsym, TypeVar bound) { argument
456 this.bound = bound;
477 if (bound == t)
479 bound = (TypeVar)t;
489 if (moreInfo && bound != null && !isPrintingBound)
492 s.append("{:").append(bound
1007 public Type bound = null; field in class:Type.TypeVar
1022 TypeVar(TypeSymbol tsym, Type bound, Type lower) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orb/
H A DORBImpl.java966 * @param bound the bound for the string.
969 public synchronized TypeCode create_string_tc(int bound) argument
972 return new TypeCodeImpl(this, TCKind._tk_string, bound);
978 * @param bound the bound for the string.
981 public synchronized TypeCode create_wstring_tc(int bound) argument
984 return new TypeCodeImpl(this, TCKind._tk_wstring, bound);
990 * @param bound the bound fo
995 create_sequence_tc(int bound, TypeCode element_type) argument
1011 create_recursive_sequence_tc(int bound, int offset) argument
[all...]
H A DORBSingleton.java202 public TypeCode create_string_tc(int bound) { argument
203 return new TypeCodeImpl(this, TCKind._tk_string, bound);
206 public TypeCode create_wstring_tc(int bound) { argument
207 return new TypeCodeImpl(this, TCKind._tk_wstring, bound);
210 public TypeCode create_sequence_tc(int bound, argument
213 return new TypeCodeImpl(this, TCKind._tk_sequence, bound, element_type);
216 public TypeCode create_recursive_sequence_tc(int bound, argument
219 return new TypeCodeImpl(this, TCKind._tk_sequence, bound, offset);

Completed in 187 milliseconds

12