Fix TestRegularExpression
This commit is contained in:
parent
b21359ea19
commit
6c93ba2268
@ -1,5 +1,5 @@
|
||||
// Copyright.txt
|
||||
This computer source code is Copyright ©2016 MindView LLC
|
||||
This computer source code is Copyright ©2016 MindView LLC
|
||||
All Rights Reserved.
|
||||
|
||||
Permission to use, copy, modify, and distribute this
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
|
||||
// Non-informative style of assert
|
||||
// Must run with -ea:
|
||||
// {JVMArgs: -ea}
|
||||
// {JVMArgs: -ea}
|
||||
// {ThrowsException}
|
||||
|
||||
public class Assert1 {
|
||||
|
@ -4,7 +4,7 @@
|
||||
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
|
||||
// Demonstrates performance differences in Maps
|
||||
// Small to keep build testing short:
|
||||
// {Args: 100 5000}
|
||||
// {Args: 100 5000}
|
||||
import java.util.*;
|
||||
|
||||
public class MapPerformance {
|
||||
|
@ -3,8 +3,7 @@
|
||||
// We make no guarantees that this code is fit for any purpose.
|
||||
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
|
||||
// Use the XOM library to write and read XML
|
||||
// {Requires: nu.xom.Node; You must install
|
||||
// the XOM library from http://www.xom.nu }
|
||||
// You must install nu.xom.Node from http://www.xom.nu
|
||||
import nu.xom.*;
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
@ -2,8 +2,7 @@
|
||||
// (c)2016 MindView LLC: see Copyright.txt
|
||||
// We make no guarantees that this code is fit for any purpose.
|
||||
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
|
||||
// {Requires: nu.xom.Node; You must install
|
||||
// the XOM library from http://www.xom.nu }
|
||||
// You must install nu.xom.Node from http://www.xom.nu
|
||||
// {RunFirst: APerson}
|
||||
import nu.xom.*;
|
||||
import java.io.File;
|
||||
|
@ -3,7 +3,7 @@
|
||||
// We make no guarantees that this code is fit for any purpose.
|
||||
// Visit http://mindviewinc.com/Books/OnJava/ for more book information.
|
||||
// Simple regular expression demonstration
|
||||
// {Args: abcabcabcdefabc "abc+" "(abc)+" "(abc){2,}" }
|
||||
// {Args: abcabcabcdefabc "abc+" "(abc)+" }
|
||||
import java.util.regex.*;
|
||||
|
||||
public class TestRegularExpression {
|
||||
|
Loading…
x
Reference in New Issue
Block a user