src/share/classes/javax/sql/rowset/Predicate.java
Print this page
@@ -51,12 +51,11 @@
* defined and deployed with both the reference and vendor implementations
* of the <code>FilteredRowSet</code> interface, this allows for a flexible
* and application motivated implementations of <code>Predicate</code> to emerge.
* <p>
* A sample implementation would look something like this:
- * <pre>
- * <code>
+ * <pre>{@code
* public class Range implements Predicate {
*
* private Object lo[];
* private Object hi[];
* private int idx[];
@@ -88,12 +87,12 @@
* return false;
* } else {
* return true;
* }
* }
- * </code>
- * </pre>
+ * }
+ * }</pre>
* <P>
* The example above implements a simple range predicate. Note, that
* implementations should but are not required to provider <code>String</code>
* and integer index based constructors to provide for JDBC RowSet Implementation
* applications that use both column identification conventions.