Java Coding Problems: Become an expert Java programmer by solving over 200 brand-new, modern, real-world problems, 2nd edition Anghel Leonard download
Java Coding Problems: Become an expert Java programmer by solving over 200 brand-new, modern, real-world problems, 2nd edition Anghel Leonard download
https://textbookfull.com/product/java-coding-problems-2nd-
edition-become-an-expert-java-programmer-by-solving-
over-200-brand-new-modern-real-world-problems-anghel-leonard/
https://textbookfull.com/product/biota-grow-2c-gather-2c-cook-
loucas/
https://textbookfull.com/product/learning-java-an-introduction-
to-real-world-programming-with-java-marc-loy/
https://textbookfull.com/product/optimization-in-the-real-world-
toward-solving-real-world-optimization-problems-1st-edition-
katsuki-fujisawa/
Learning Java An Introduction to Real World Programming
with Java 5th Edition Marc Loy
https://textbookfull.com/product/learning-java-an-introduction-
to-real-world-programming-with-java-5th-edition-marc-loy/
https://textbookfull.com/product/java-cookbook-problems-and-
solutions-for-java-developers-early-release-ian-f-darwin/
https://textbookfull.com/product/statistics-with-r-solving-
problems-using-real-world-data-1st-edition-jenine-k-harris/
https://textbookfull.com/product/java-cookbook-problems-and-
solutions-for-java-developers-final-release-4th-edition-ian-f-
darwin/
https://textbookfull.com/product/pro-hibernate-and-mongodb-the-
expert-s-voice-leonard-anghel/
Java Coding Problems
Second Edition
Anghel Leonard
BIRMINGHAM—MUMBAI
Java Coding Problems
Second Edition
Grosvenor House
11 St Paul’s Square
Birmingham
B3 1RB, UK.
ISBN 978-1-83763-394-4
www.packt.com
Contributors
Java Coding Problems, Second Edition, will help you complete your
daily tasks and meet deadlines, all while becoming a more proficient
and self-sufficient Java developer. You can count on the 270+ (all
brand-new for this edition) problems in this book to cover the most
common and fundamental areas of interest: strings, numbers, arrays,
collections, the Foreign Function and Memory API, data structures,
date and time, pattern matching, sealed/hidden classes, functional
programming, virtual threads, Structured Concurrency, Garbage
Collectors, Dynamic CDS Archives, the Socket API, and Simple Web
Server.
Put your skills on steroids with problems that have been carefully
crafted to highlight and teach the core knowledge needed for daily
work. In other words (no matter if your task is simple, middling, or
complex), having this knowledge in your tool belt is a must, not an
option.
"W. Wilberforce."
"November 5, 1823.
"I trust I scarcely need assure you that I must always wish to make you comfortable
quoad money matters, and on the other hand that the less the cost of rendering you so,
the more convenient to me. My income is much diminished within the last few years,
while the expenses of my family have greatly increased....
"What a comfort it is to know that our Heavenly Father is ever ready to receive all who
call upon Him. He delighteth in mercy, and ever remember that as you have heard me
say, mercy is kindness to the guilty, to those who deserve punishment. What a delightful
consideration it is that our Saviour loves His people better than we love each other, than
an earthly parent loves his child."
"November 7, 1823.
"There is a vile and base sentiment current among men of the world that, if you want to
preserve a friend you must guard against having any pecuniary transactions with him.
But it is a caution altogether unworthy of a Christian bosom. It is bottomed in the
mistakenly supposed superior value of money to every other object, and in a very low
estimate of human friendship. I hope I do not undervalue my money, but I prize my time
at a still higher rate, and have no fear that any money transaction can ever lessen the
mutual confidence and affection which subsists between us and which I trust will never
be diminished. And let me take this opportunity also of stating that you would give me
real pleasure by making me your friend and opening your heart to me as much in every
other particular. I trust you would never find me abusing your confidence. Even any
indiscretions or faults, if there should be any, if I can help to prevent your being involved
in difficulties by them. But I hate to put such a case. It is no more than what is due to
my dear Samuel, to say that my anticipations are of a very different sort. And I can truly
declare that the good conduct and kindness of my children towards me is a source of the
purest and greatest pleasure I do or can enjoy."[51]
"August 6, 1824.
"I can bear silence no longer, and I beg you will in future send me or your dear mother a
something, be it ever so short, in the way of a letter once a week, if it be merely a
certificate of your existence. I have been for some days thinking of writing to you, in
consequence of my having heard that your friend Ryder and Sir George Prevost were
reading classics with Mr. Keble. Could you not have been allowed to make it a
triumvirate? Much as I value classical scholarship, I prize still more highly the superior
benefit to be derived from associating with such good young men as I trust the two
gentlemen are whose names I have mentioned, and I have the satisfaction of knowing
that you have the privilege of calling them your friends. Is it yet too late?"
"September 10, 1824.
"As I was talking to your mother this morning on money matters it shot across my mind
that you had desired me to send you a supply, which I had neglected to do. I am truly
sorry for my inadvertency, and will send you the half of a £20 bank note which I happen
to possess, the other half following of course to-morrow. Ask for what you want, and we
will settle when you are here. It gives me real pleasure to believe that you are
economical on principle, and it is only by being so that one can be duly liberal. Without
self-denial every man, be his fortune what it may, will find himself unable to act as he
ought in this particular, not that giving is always the best charity, far from it; employing
people is often a far preferable mode of serving them. To you I may say that if I have
been able to be liberal not less before my marriage than after it, it was from denying
myself many articles which persons in my own rank of life and pecuniary circumstances
almost universally indulged in. Now when I find my income considerably decreased on
the one hand, and my expenses (from my four sons) greatly increased on the other,
economy must even be made parsimony, which, justly construed, does not in my
meaning at all exclude generosity."
This letter is here interrupted, he says, by "two young widows—both of whom had
recently lost their husbands in India—with their four little children, all in deep mourning.
Yet the two widows have the best of all supports in the assured persuasion that their
husbands were truly pious, and in the hope that they themselves are so."
It is easy to imagine the reception given to the "two young widows" by Wilberforce. He
had not yet learned the lesson of "economy or even parsimony" as regarded his charities
—even when he had to reduce his expenses he spent £3,000[52] in one year on charity.
"December 10, 1824.
"I have deemed it quite a duty on this delicious day to prolong my country walk in a tête-
à-tête with your dear mother, a tête-à-tête, however, from which our dear children's
images are not excluded. I own that those who are termed Methodists by the world do
give more liberally to the distressed than others, yet that I think they do not in this duty
come up to the full demands of Scripture. The great mistake that prevails as I conceive
is, it's being thought right that all persons who are received on the footing of gentlemen
are to live alike. And without economy there cannot be sufficient liberality. I can sincerely
declare that my wish that my sons should be economical, which is quite consistent with
being generous, nay, as I said before, is even necessary to it, arises far more from my
conviction of the effects of economical habits on their minds and happiness in future life,
than on account of the money that will be thereby saved. You have heard me, I doubt
not, praise Paley's excellent remark on the degree in which a right constitution of the
habits tends to produce happiness, and you may proceed with the train of ideas I have
called up in your mind."
"October 26, 1825.
"You ask me about your Uncle Stephen's having been a newspaper reporter. He was. The
case was this. At the age of, I believe, eighteen, he came up to town to study the law,
when the sudden death of his father not only stopped his supplies, but threw on his
hands the junior branches of the family, more especially three or four sisters. Seeing no
other resource, he embraced an offer, made to him I believe through or by Mr.
Richardson, the friend of poor Sheridan. Richardson afterwards came into Parliament,
and the fact respecting Stephen came out thus, a few years ago. A regulation was
proposed by some of the benchers of Lincoln's Inn that no one should be permitted to be
called to the Bar who ever had practised the reporting art. Sheridan brought the question
forward in the House of Commons. Stephen, who was then in Parliament, spoke to the
question, and in arguing against the illiberal and even cruel severity of the regulation, put
a supposed case, that the son of a gentleman, by a father's sudden death was at once
deprived of the means of pursuing the legal profession on which he was just entering,
being also harassed in his mind by the distressed state of some affectionate sisters. Thus
embarrassed, he received an offer of employment as a reporter, and gladly accepted it
and discharged its duties, thereby being enabled to prosecute his professional studies as
well as to assist his relatives. 'But,' added Stephen, 'the case I have just stated is no
imaginary one. It is the story of a living individual. It is that, sir, of the individual who has
now the honour to address you.' There is in all bodies of Englishmen a generous feeling
which is always called forth powerfully when a man confesses, or rather boldly avows any
circumstance respecting himself which, according to the false estimate of the world,
might be supposed to disparage him; as when Peel at the meeting for a monument to
James Watt declared that, 'owing all his prosperity to the successful industry of a person
originally in the humble walks of life,' the applause was overpowering. And I never
remember a more general or louder acclamation than immediately broke out when
Stephen had (indeed before he had completely) closed his declaration."
"December 16, 1825.
"It is Henry Thornton[53] that was connected with the house of Pole & Co. He became a
partner about five months ago. The storm through which he has been passing has been
indeed violent; but the call for self-possession, temper, judgment, and above all
scrupulous, punctilious integrity has been abundantly answered. He has behaved so as to
draw on him the universal applause of all who have witnessed his conduct. Mr. Jno. Smith
especially speaks of it in the highest terms, and has been acting towards him with
corresponding generosity and kindness. It has been very strikingly evidenced that
commercial transactions on a great scale enlarge the mind, and the obedience which,
with men of real principle, is paid to the point of mercantile honour, produces a habit of
prompt, decisive integrity in circumstances of embarrassment and distress. I am happy to
be able to tell you that there is reason to believe that while Henry will gain great credit
he will lose no money. He has borne the trial with the calmness of a veteran."
"Sunday, January 22, 1826.
"You may have heard me mention, that when in my solitary bachelor state I was alone all
day on the Sunday, I used after dinner to call up before me the images of my friends and
acquaintances, and to consider how I could benefit or gratify them. And when the mind is
scarcely awake, or, at least, active enough for any superior purpose, this is no bad
employment for a part of the day, especially if practised with religious associations and
purposes. The day is so raw here that I have yielded to your mother's kind entreaties
that I would not go to church, where the greater part of the family now is at afternoon
service. So I am glad to spend a part of my day with my dearest Samuel.
"I will remind you of an idea which I threw out on the day preceding your departure—
that I feared I had scarcely enough endeavoured to impress on my children the idea that
they must as Christians be a peculiar people. I am persuaded that you cannot
misunderstand me to mean that I wish you to affect singularity in indifferent matters.
The very contrary is our duty. But from that very circumstance of its being right that we
should be like the rest of the world in exterior, manners, &c., &c., results an
augmentation of the danger of our not maintaining that diversity, nay, that contrast,
which the Eye of God ought to see in us to the worldly way of thinking and feeling on all
the various occasions of life, and in relation to its various interests. The man of the world
considers religion as having nothing to do with 99-100ths of the affairs of life, considering
it as a medicine and not as his food, least of all as his refreshment and cordial. He
naturally takes no more of it than his health requires. How opposite this to the apostle's
admonition, 'Whatever ye do in word or deed, do all in the name of the Lord Jesus,
giving thanks to God the Father through Him.' This is being spiritually-minded, and being
so is truly declared to be life and peace. By the way, if you do not possess that
duodecimo volume, 'Owen on Spiritual Mindedness,' let me beg you to get and read it
carefully. There are some obscure and mystic passages, but much that I think is likely to
be eminently useful; and may our Heavenly Father bless to you the perusal of it...."
"February 27, 1826.
"Let me assure you that you give me great pleasure by telling me unreservedly any
doubts you may entertain of the propriety of my principles or conduct. I love your
considering and treating me as a friend, and I trust you will never have reason to regret
your having so done, either in relation to your benefit or your comfort. In stating my
suspicions that I had not sufficiently endeavoured to impress on my children, and that
you were scarcely enough aware of the force of the dictum that Christians were to be a
peculiar people, I scarcely need assure you that I think the commands, 'Provide things
honest in the sight of all men, whatever things are lovely, whatsoever of good report,' &c.
(admirably illustrated and enforced by St. Paul's account of his own principles of
becoming all things to all men), clearly prove that so far from being needlessly singular,
we never ought to be so, but for some special and good reason. Again, I am aware of
what you suggest that, in our days, in which the number of those who profess a stricter
kind of religion than the world of soi-disant Christians in general, there is danger lest a
party spirit should creep in with its usual effects and evils. Against this, therefore, we
should be on the watch. And yet, though not enlisting ourselves in a party, we ought, as I
think you will admit, to assign considerable weight to any opinions or practices which
have been sanctioned by the authority of good men in general. As again, you will I think
admit, that in any case in which the more advanced Christians and the less advanced are
both affected, the former and their interests deserve more of our consideration than the
latter. For instance, it is alleged in behalf of certain worldly compliances, that by making
them you will give a favourable idea, produce a pleasing impression of your religious
principles, and dispose people the rather to adopt them. But then, if you thereby are
likely to become an offence (in the Scripture sense) to weaker Christians, (persons, with
all their infirmities, eminently dear to Christ,) you may do more harm than good, and that
to the class which had the stronger claim to your kind offices. Let my dear Samuel think
over the topic to which I was about next to proceed. I mean our Saviour's language to
the Laodicean Church expressing His abhorrence and disgust at lukewarmness, and the
danger of damping the religious affections by such recreations as He had in mind. Of
course I don't object to domestic dances. It is not the act, the saltus, but the whole tone
of an assembly."
"Clifton, May 27, 1826.
"I am very glad to think that you will be with us. Your dear mother's spirits are not
always the most buoyant, and, coming first to reside in a large, new house without
having some of her children around her, would be very likely to infuse a secret
melancholy which might sadden the whole scene, and even produce, by permanent
association, a lasting impression of despondency. I finish this letter after hearing an
excellent sermon from Robert Hall. It was not merely an exhibition of powerful intellect,
but of fervent and feeling piety, especially impressing on his hearers to live by the faith of
the love of Christ daily, habitually looking to Him in all His characters. Prayer, prayer, my
dear Samuel; let your religion consist much in prayer. May you be enabled more and
more to walk by faith and not by sight, to feel habitually as well as to recognise in all
your more deliberate calculations and plans, that the things that are seen are temporal,
but the things that are not seen are eternal. Then you will live above the world, as one
who is waiting for the coming of the Lord Jesus Christ."[54]
"April 20, 1826.
"I would gladly fill my sheet, yet I can prescribe what may do almost as well. Shut your
door and muse until you fancy me by your side, and then think what I should say to you,
which I dare say your own mind would supply."
"September 30.
"I am thankful to reflect that at the very moment I am now thinking of you and
addressing you; you also are probably engaged in some religious exercise, solitary or
social (for I was much gratified by learning from a passage in one of your letters to your
mother that you and Anderson went through the service of our beautiful liturgy
together). Perhaps you are thinking of your poor old father, and, my dear boy, I hope you
often pray for me, and I beg you will continue to do so.
"I am not sure whether or not I told you of our having been for a week at Lea,[55] having
been detained there by my being slightly indisposed. But it was worth while to be so, if it
were only to witness, or rather to experience, Lady Anderson's exceeding kindness. I
really do not recollect having ever before known such high merits and accomplishments—
the pencil and music combined with such unpretending humility, such true simplicity and
benevolence. With these last Sir Charles is also eminently endowed. He reads his family
prayers with great feeling, and especially with a reverence which is always particularly
pleasing to me. There is, in 'Jonathan Edwards on the Religious Affections,' a book from
which you will, I think, gain much useful matter, a very striking passage, in which he
condemns with great severity, but not at all too great, me judice, that familiarity with the
Supreme King which was affected by some of the religionists of his day, as well as by Dr.
Hawker recently, and remarks very truly that Moses and Elijah, and Abraham the friend of
God (and all of them honoured by such especial marks of the Divine condescension),
always manifested a holy awe and reverence when in the Divine presence."
Samuel Wilberforce had written to his father asking him what advice he should give to a
friend whose family was very irreligious. In the house of this friend 'it was a common
phrase accompanying a shake of each other's hands on meeting, "May we meet together
in hell."' The answer to the appeal for advice is as follows:—
"July 28, 1826.
"I will frankly confess to you that the clearness and strength of the command of the
apostle, 'Children, obey your parents in all things' (though in one passage it is added, 'in
the Lord') weighed so strongly with me as to lead me, at first, to doubt whether or not it
did not overbalance all opposing considerations and injunctions, yet more reflection has
brought me to the conclusion, to which almost all those whom I consulted came still
more promptly, that it is the duty of your young friend to resist his parents' injunction to
go to the play or the opera. That they are quite hotbeds of vice no one, I think, can deny,
for much more might be said against them than is contained in my 'Practical View,'
though I own the considerations there stated appear to my understanding such as must
to anyone who means to act on Christian principles be perfectly decisive. One argument
against the young man's giving up the point in these instances, which has great weight
with me, is this, that he must either give himself entirely up to his friends and suffer
them at least to dictate to him his course of conduct, or make a stand somewhere. Now I
know not what ground he will be likely to find so strong as this must be confessed to be,
by all who will argue the question with him on Scriptural principles, and more especially
on those I have suggested in my 'Practical View' of the love of God, and I might have
added, that of the apostle's injunction, 'Whatever ye do in word or deed, do all in the
name of the Lord Jesus, giving thanks to God and the Father through Him.' I scarcely
need remark that the refusal should be rendered as unobjectionable as possible by the
modest and affectionate manner of urging it, and by endeavouring to render the whole
conduct and demeanour doubly kind and assiduous. I well remember that when first it
pleased God to touch my heart, now rather above forty years ago, it had been reported
of me that I was deranged, and various other rumours were propagated to my
disadvantage. It was under the cloud of these prejudices that I presented myself to some
old friends, and spent some time with them (after the close of the session) at
Scarborough. I conversed and behaved in the spirit above recommended, and I was
careful to embrace any little opportunity of pleasing them (little presents often have no
small effects), and I endeavoured to impress them with a persuasion that I was not less
happy than before. The consequence was all I could desire, and I well recollect that the
late Mrs. Henry Thornton's mother, a woman of very superior powers and of great
influence in our social circle, one day broke out to my mother—she afterwards said to me
something of the same kind, not without tears—'Well, I can only say if he is deranged I
hope we all shall become so.' To your young friend again I need not suggest the duty of
constant prayer for his nearest relatives. By degrees they will become softened, and he
will probably enjoy the delight of finding them come over to the blessed path he is
himself pursuing. He will also find that self-denial, and a disposition to subject himself to
any trouble or annoyance in order to promote his friends' comfort, or exemption from
some grievance, will have a very powerful effect in conciliating his friends. With all the
courtesy that prevails in high life, no one, I think, can associate with those who move in
it, without seeing how great a share selfishness has in deciding their language and
conduct, saving themselves trouble or money, &c., &c. Happily the objections of worldly
parents to their children becoming religious are considerably weakened since it has
pleased God to diffuse serious religion so much through the higher ranks in society: they
no longer despair, as they once did, of their sons and daughters not forming any eligible
matrimonial alliance or any respectable acquaintances or friendships. The grand blessing
of acting in the way I recommend is the peace of conscience it is likely to produce. There
are, we know, occasions to which our Saviour's words must apply, 'He that loveth father
and mother more than Me is not worthy of Me,' and I doubt not that if your friend does
the violence to his natural feelings which the case supposes, in the spirit of faith and
prayer, he will be rewarded even by a present enjoyment of spiritual comfort. If I mistake
not I wrote to you lately on the topic of the joy which Christians ought to find familiar to
them, still more the peace; and the course he would pursue would, I believe, be very
likely to ensure the possession of them. We have been, and still are, highly gratified by
finding true religion establishing itself more and more widely. Lord Mandeville, whose
parent stock on both sides must be confessed to be as unfavourable as could be well
imagined in this highly favoured country, is truly in earnest. He, you may have forgot,
married Lady Olivia's only daughter. He is a man of very good sense; though having been
destined to the Navy, which had been for generations a family service, his education was
probably not quite such as one would wish. He is a man of the greatest simplicity of
character, only rather too quiet and silent."
"Highwood Hill,
"November 27, 1826.
"I hope you are pleased, I assure you I am, with the result of your B.A. course. And I
scarcely dare allow myself to wish that you may be in the 1st class, or at least to wish it
with any degree of earnestness or still less of anxiety. The Almighty has been so signally
kind to me even in my worldly affairs, and so much more gracious than I deserved in my
domestic concerns, that it would indicate a heart never to be satisfied were I not
disposed in all that concerns my children, to cast all my care on Him: indeed, you pleased
me not a little by stating your persuasion that it might be better for you ultimately not to
have succeeded (to the utmost) on this very occasion. And I rejoice the more in this
impression of yours, because I am sure it does not in your instance arise from the want
of feeling; from that cold-blooded and torpid temperament that often tends to indolence,
and if it sometimes saves its proprietor a disappointment, estranges him from many who
might otherwise attach themselves to him, and shuts him out from many sources of pure
and virtuous pleasure.
"Your dear mother in all weather that is not bad enough to drive the labourers within
doors, is herself sub dio, studying the grounds, giving directions for new walks, new
plantations, flower-beds, &c. And I am thankful for being able to say that the exposure to
cold and dew hitherto has not hurt her—perhaps it has been beneficial."
"August 25, 1827.
"I was lately looking into Wrangham's 'British Biography,' and I was forcibly struck by
observing that by far the larger part of the worthies the work commemorates were
carried off before they reached to the age I have attained to. And yet, as I think, I must
have told you, Dr. Warren, the first medical authority of that day, declared in 1788 that I
could not then last above two or three weeks, not so much from the violence of an illness
from which I had then suffered, as from the utter want of stamina. Yet a gracious
Providence has not only spared my life, but permitted me to see several of my dear
children advancing into life, and you, my dear Samuel, as well as Robert, about to enter
into Holy Orders so early that if it should please God to spare my life for about a couple
of years, which according to my present state of health seems by no means improbable, I
may have the first and great pleasure of witnessing your performance of the sacred
service of the Church. It is little in me—I mean a very ordinary proof of my preference of
spiritual to earthly things, of my desiring to walk rather by faith than by sight—that I
rejoice in the prospect of your becoming a clergyman rather than a lawyer, which
appeared the alternative in your instance; but it is due to you, my dear Samuel, to say
that it is a very striking proof of your having been enabled by, I humbly trust, the highest
of all influences, to form this decision, when from your talents and qualifications it
appeared by no means improbable that in the legal line you might not improbably rise
into the enjoyment of rank and affluence. It is but too true that my feelings would, at
your time of life, have been powerfully active in another direction. Perhaps this very
determination may have been in part produced by that connection to which you look
forward. And may it please God, my dear Samuel, to grant you the desire of your heart in
this particular and to render the union conducive to your spiritual benefit and that of your
partner also, so that it may be looked back upon with gratitude even in a better world, as
that which has tended not only to your mutual happiness during the journey of life, but
has contributed to bring you both after its blessed termination to the enjoyment of the
rest that remaineth for the people of God."
This letter refers to Samuel Wilberforce's marriage with Emily Sargent, as to which his
father remarks: "Viewed in a worldly light, the connection cannot be deemed favourable
to either of you."
"March 20, 1828.
"The cheerfulness, which at an earlier period of my life might have been a copious spring
supplying my letters with a stream of pleasant sentiments and feelings, has been chilled
even to freezing by advancing years, and yet, to do myself justice, though this may have
dulled the activity and liveliness of my epistles, I think it has not cooled the kindly
warmth of heart with which I write to my friends and least of all to my children."
"July 22, 1828.
"I am glad that any opportunity for your coming forward as a public speaker has
occurred, I mean an opportunity proper for you to embrace, in which you were rather a
drawn (though not a pressed) man and not a volunteer. We have had the great pleasure
of having dear Robert officiate twice, both in the reading-desk and the pulpit. The
apparent, as well as real, simplicity of his whole performance must have impressed every
observant and feeling hearer with a very favourable view of his character. His language
remarkably simple, much every way in his sermon to esteem and love. It suggested one
or two important topics for consideration, which I shall be glad to talk over with you
hereafter, as well as with Robert himself. One is, whether he did not fall into what I have
often thought an error in the sermons of sound divines, and in those perhaps of Oxonians
more than Cantabs—that I mean of addressing their congregations as being all real
Christians—children of God, &c.—who needed (to use our Saviour's figure in John xiii.)
only to have their feet washed. Whatever may be the right doctrinal opinion as to
baptismal regeneration, all really orthodox men will grant, I presume, that as people
grow up they may lose that privilege of being children of God which we trust they who
were baptised in their infancy did enjoy, and would have reaped the benefit of it had they
died before, by the gradual development of their mental powers, they became moral
agents capable of responsibility. And if so, should not their particular sins of disposition,
temper, or conduct be used rather to convince them of their being in a sinful state, and
as therefore requiring the converting grace of God, than as merely wanting a little
reformation?"
"November 20, 1828.
"Has Sargent[56] heard of the fresh explosion in the British and Foreign Bible Society? I
truly and deeply regret it. It has proceeded from a proposal to print the Septuagint. In
the discussion that took place on that topic it was perhaps unwarily said there was no
proper standard of the Holy Scriptures. No standard!!!!! Then we have no Bible! You see
how a little Christian candour would have prevented this rupture. Oh that they would all
remember that the end of the commandment is Love. I fear this is not the test by which
in our days Christians are to be ascertained: may we all cultivate in ourselves this blessed
principle and pray for it more earnestly. I am quite pleased myself, Robert is delighted, by
the appointment to the Professorship (Hebrew) of Pusey—above £1,200 per annum.
Pusey had opposition, and is appointed by the Duke of Wellington, solely we suppose on
the ground of superior merit."
"February 20, 1829.
"Legh Richmond,[57] though an excellent man, was not a man of refinement or of taste. I
cannot deny the justice of your remarks as far as I can fairly allow myself to form a
judgment without referring to the book. I entirely concur in your censure of Richmond's
commonplace, I had almost termed it profane, way in which he speaks of the Evil Spirit.
This falls under the condemnation justly pronounced by Paley against levity in religion.
"When I can spare a little eyesight or time, I feel myself warranted to indulge the
pleasure I always have in the exercise of the domestic affections, and in gratifying you
(as I hope it is not vanity to think I do) in writing to you at a time when you are in
circumstances of more quiet than usual, though I am aware that a man of your age, who
is spending his first year of married life with a partner, between whom and himself there
was great mutual attachment, grounded on esteem, and a mutual acquaintance with
each other's characters and dispositions, can never be so happy as when he is enjoying a
tête-à-tête with his bride. By the way, do you keep anything in the nature of a journal? A
commonplace book I take it for granted you keep; and speaking of books, let me strongly
urge you to keep your accounts regularly, and somewhat at least in the mode in which
we keep ours—under different heads. If you have not the plan, tell me and I will send it
to you. Its excellence is that it enables you with ease to see how your money goes; and
remember we live in days in which a single sovereign given by an individual is often
productive of great effects. Where is it that a single drop (stalactite) from a roof, falling
into the ocean, is made to bemoan itself on being lost in the abyss of waters, when
afterwards it became the seminal principle of the great pearl that constituted the glory of
the Great Mogul? And now also, remember the Church Missionary Society is so poor, that
it will be compelled to quit some fields whitening to the harvest, unless it can have its
funds considerably augmented."
SAMUEL WILBERFORCE, Aged 29.
The next letter refers to the offer of the vicarage of Ribchester, near Preston, in
Lancashire, made by the Bishop of Chester to Samuel Wilberforce.
"March 3, 1829.
"Whether regarded in relation to your bodily strength, your spiritual interests, or to
prudence in affairs, I should be disposed to advise you to decline, with a due sense of
kindness, &c., the Bishop's offer. Your constitution is not a strong one, and it is highly
desirable in that view alone that you should for a time officiate in a small sphere, and if it
may be in a place where, as from your vicinity to Oxford, you can have assistance when
you are not equal yourself to the whole duty. With such a scattered population, there
must be a call I conceive for great bodily strength. Secondly, the situation appears to me
still less eligible considered on higher grounds. It is no ground of blame to you that your
studies have not hitherto been of divinity. Supply all that I should say under that head,
were I not writing to one who is capable himself of suggesting it to his own mind. Again,
you cannot have that acquaintance with human nature, either in general, or in your own
self, which it would be desirable for any one to possess who was to be placed in so wide
and populous a field, especially in one so circumstanced as this particular place. Then
you would be at a distance from almost all your friends, which I mention now in
reference to the spiritual disadvantages of the situation, not in relation to your comfort
and Emily's, in which, however, it may be fairly admitted to some weight. Again, I should
much regret your being placed where you would naturally be called to study controversial
anti-Roman Catholic divinity, rather than that which expects the cultivation of personal
holiness in yourself and your parishioners. I could say much on this head. Thirdly, Mr.
Neale sees the objections on the ground of pecuniary interest, as alone of so much
weight, as to warrant your refusing the offer—a vicarage. Its income is commonly derived
from small payments, and in that district probably of poor people whom you would not,
could not squeeze, and yet without squeezing from whom you probably would get
nothing. Most likely a curate would be indispensable."
On the same topic Wilberforce writes again:—
"March 17th, 1829.
"I ought to tell you that in the reasons I assigned to the Bishop for declining his offer,
one, and in itself perhaps the strongest, (nay, certainly so, not perhaps,) was my
persuasion that for any one educated and associated as you have been, it was of very
great importance with a view to your spiritual state, (more especially for the cultivation of
devotional feelings and spirituality of mind,) that he should in the outset of his ministerial
course be for some time in a quiet and retired situation, where he could live in the
enjoyment of domestic comfort, of leisure for religious reading and meditation, and
devotional exercises; while, on the contrary, it was very undesirable in lieu of these to be
placed in circumstances in which he would almost necessarily be almost incessantly
arguing for Protestant principles—in short, would be occupied in the religion of the head
rather than of the heart. I own to you in confidence (though I believe I shall make the
avowal to my dear Robert himself) that I am sometimes uneasy on a ground somewhat
congenial with this, about the tutor of Oriel. For though I doubt not the solidity of his
religious character, yet I fear his situation is far from favourable to the growth in grace,
and would, alas! need every help we can have for the advancement of personal religion
within us, and can scarcely bear without injury any circumstances that have an
unfavourable tendency. I trust my dear Samuel will himself consider that he is now
responsible for living in circumstances peculiarly favourable to the growth of personal
piety, and therefore that he should use his utmost endeavours to derive the benefits that
appear, (humanly speaking,) to be placed within his reach. Oh, my dearest boy, we are all
too sadly lukewarm, sadly too little urging forward with the earnestness that might justly
be expected from those that are contending for an incorruptible crown. Did you ever read
Owen on spiritual-mindedness? There are some passages that to me appear almost
unintelligible (one at least), but it is in the main, I think, a highly useful book. I need not
say how sorry we are to hear of Emily being poorly. But our gourds must have something
to alloy their sweets. D. G. your mother is recovering gradually, and now profits much
from a jumbling pony-chair; its shaking quality renders its value to her double what it
would be otherwise."[58]
"March 19, 1829.
"In speaking of Whately's book I ought to have said that I had not got to the part in
which he speaks of imputed righteousness. I remember it was an objection made to my
'Practical View' by a certain strange head of a college that I was silent on that point. The
honest truth is, I never considered it. I have always been disposed to believe it to be in
some sort true, but not to deem it a matter of importance, if the doctrine of free grace
and justification by faith be held, which are, I believe, of primary importance. Hooker,
unless I forget, is clearly for it; see his sermon on Justification. I trust I need not fear
your misconstruing me, and supposing I can be advising you, either to be roguish, or
shabbily reserved. But really I do think that you may produce an unfavourable and false
impression of your principles and professional character, by talking unguardedly about
Methodistical persons and opinions. Mrs. R. may report you as UNSOUND to the Bishop
of Winchester, and he imbibe a prejudice against you. Besides, my dear Samuel, I am
sure you will not fire when I say that you may see reason on farther reading, and
reflection, and more experience to change or qualify some of the opinions you may now
hold. I own, (I should not be honest if I did not say so,) that I think I have myself
witnessed occasions which have strengthened with me the impression that you may need
this hint.... Have you any parishioners who have been used to hear Methodists or
Dissenters, or have you any who appear to have had, or still to have, much feeling of
religion? I cannot help suspecting that it is a mistaken notion that the lower orders are to
be chiefly instructed in the ordinary practical duties of religion, whereas I own I believe
them to be quite capable of impressions on their affections: on the infinite love of their
God and Redeemer, and of their corresponding obligation to Love and Obedience. We
found peasants more open to attacks on their consciences, on the score of being wanting
in gratitude, than on any other."
"April 3, 1829.
"Articles sent to Mr. Samuel—Bewick, Venn's Sermons (2 vols.), White's 'Selborne' (2 vols.
bound in one), 2nd vol. of 'The Monastery.' A lending library is, I think, likely to be
considerably beneficial. It cannot but have a tendency to generate in the poor a
disposition favourable to domestic habits and pleasures, and to seek their enjoyments at
home rather than in the alehouse, and it strikes me as likely to confirm this taste, to
encourage the poor people's children to read to them. Send me a list of any books you
will like to have for your lending library, and I will by degrees pick them up for you....
"We ought to be always making it our endeavour to be experiencing peace and joy in
believing, and that we do not enjoy more of this sunshine of the breast is, I fear, almost
always our own fault. We ought not to acquiesce quietly in the want of them, whereas
we are too apt to be satisfied if our consciences do not reproach us with anything wrong,
if we can on good grounds entertain the persuasion that we are safe; and we do not
sufficiently consider that we serve a gracious and kind master who is willing that we
should taste that He is gracious. Both in St. John's first general Epistle, and in our Lord's
declaration in John xv., we are assured that our Lord's object and the apostles' in telling
us of our having spiritual supplies and communion, is that our joy may be full. It is a
great comfort to me to reflect that you are in circumstances peculiarly favourable to your
best interests. To be spiritually-minded is both life and peace. How much happier would
your dear mother be if she were living the quiet life you and Emily do, instead of being
cumbered about many things; yet she is in the path of duty, and that is all in all."
"September 7, 1829.
"An admirable expedient has this moment suggested itself to me, which will supersede
the necessity for my giving expression to sentiments and feelings, for which you will give
me full credit, though unexpressed. It is that of following the precedent set by a
candidate for the City of Bristol in conjunction with Mr. Burke. The latter had addressed
his electors in a fuller effusion of eloquence than was used to flow even from his lips,
when his colleague, conscious that he should appear to great disadvantage were he to
attempt a speech, very wisely confined himself to, 'Gentlemen, you have heard Mr.
Burke's excellent speech. I say ditto to the whole of it.' Sure I am that no language of
mine could give you warmer or more sincere assurances of parental affection than you
will have received in the letter of your dear mother, which she has just put into my hands
to be inserted into my letter. To all she has said, therefore, I say ditto. My dear Samuel, I
must tell you the pleasure with which I look back on what I witnessed at Checkendon,[59]
and how it combines with, and augments the joyful gratulations with which I welcome
the 7th of September.[60] I hope I am deeply thankful to the bountiful Giver of all good
for having granted me in you a son to whose future course I can look with so much
humble hope, and even joyful confidence. It is also with no little thankfulness that I
reflect on your domestic prospects, from the excellent qualities of your, let me say our,
dear Emily. I must stop, the rest shall be prayer, prayer for both of you, that your course
in this life may be useful and honourable, and that you may at length, accompanied by a
large assemblage of the sheep of Christ, whom you have been the honoured instrument
of bringing to the fold of Christ, have an abundant entrance into the everlasting kingdom
of God."
"September 28, 1829.
"How much do they lose of comfort, as well as, I believe, in incentives to gratitude and
love, and if it be not their own fault thereby in the means of practical improvement, who
do not accustom themselves to watch the operations of the Divine Hand. I have often
thought that, had it not been for the positive declarations of the Holy Scriptures
concerning the attention of the Almighty Governor of the universe to our minutest
comforts and interests enforced by a comparison with the στοργἡ of parental affection,
we should not dare to be so presumptuous as to believe, that He who rolls the spheres
along, would condescend thus to sympathise with our feelings, and attend to our
minutest interests. Here also Dr. Chalmers' suggestions, derived from the discoveries
made to us through the microscope, come in to confirm the same delightful persuasion. I
am persuaded that many true Christians lose much pleasure they might otherwise enjoy
from not sufficiently watching the various events of their lives, more especially in those
little incidents, as we rather unfitly term them; for, considering them as links in the chain,
they maintain the continuity, as much as those which we are apt to regard as of greater
size and consequence."
"November 21, 1829.
"We have been for a few days at Battersea Rise. But your mother will, I doubt not, have
told you the memorabilia of this visit, and especially the inexhaustible conversational
powers of Sir James Mackintosh. I wish I may be able, some time or other, to enable you
to hear these powers exerted. Poor fellow! he is, however, the victim of his own social
dispositions and excellences. For I cannot but believe, that the superfluous hours
dissipated in these talks, might suffice for the performance of a great work. They are to
him, what, alas! in some degree, my letters were to me during my Parliamentary life, and
even to this day."
"December 17, 1829.
"We ought not to expect this life to flow on smoothly without rubs or mortification.
Indeed, it is a sentiment which I often inculcate on myself that, to use a familiar phrase,
we here have more than our bargain, as Christians, in the days in which we live; for I
apprehend the promise of the life that now is, combined with that which is to come, was
meant to refer rather to mental peace and comfort, than to temporal prosperity. My
thoughts have been of late often led into reflections on the degree in which we are
wanting to ourselves, in relation to the rich and bright prospects set before us as
attainable in the Word of God. More especially I refer to that of the Christian's hope and
peace and joy. Again and again we are assured that joy is ordinarily and generally to be
the portion of the Christian. Yet how prone are but too commonly those, whom we really
believe to be entitled to the name of Christians, disposed to remain contented without
the possession of this delightful state of heart; and to regard it as the privilege of some
rarely gifted, and eminently favoured Christians, rather than as the general character of
all, yet I believe that except for some hypochondriacal affection, or state of spirits arising
from bodily ailments, every Christian ought to be very distrustful of himself, and to call
himself to account, as it were, if he is not able to maintain a settled frame of 'inward
peace,' if not joy. It is to be obtained through the Holy Spirit, and therefore when St. Paul
prays for the Roman Christians that they may be filled with all peace and joy in believing,
and may abound in hope, it is added, through the power of the Holy Ghost."
"Highwood Hill,
"December 31, 1829.
"My dear Children,—For to both of you I address myself. An idea, which for so old a fellow
as myself you will allow somewhat to be deserving the praise of brightness, has just
struck my mind, and I proceed to act upon it. Are you Yorkshireman enough to know the
article (an excellent one it is) entitled a Christmas, or sometimes a goose or a turkey pie?
Its composition is this. Take first the smallest of eatable birds, as a snipe, for instance,
then put it within its next neighbour of the feathered race, I mean in point of size, the
woodcock, insert the two into a teal, the teal into a duck, the duck and Co. into a fowl,
the fowl into a goose, the goose and Co. into a turkey. In imitation of this laudable
precedent, I propose, though with a variation, as our Speaker would say, in the order of
our proceeding, that this large sheet which I have selected for the purpose should
contain the united epistles of all the family circle, from the fullest grown if not largest in
dimensions, myself, to the most diminutive, little William.[61] As the thought is my own, I
will begin the execution of it, and if any vacant space should remain, I will fill it, just as
any orifices left vacant in said pie are supplied by the pouring in of the jelly. But I begin
to be ashamed of this jocoseness when I call to mind on what day I am writing—the day
which, combined with the succeeding one, the 1st of January, I consider, except perhaps
my birthday, as the most important of the whole year. For a long period (as long as I
lived in the neighbourhood of the Lock, or rather not far from it) I used to receive the
Sacrament, which was always administered there on New Year's Day. And the heart must
be hard and cold, which that sacred ordinance in such a relation, would not soften and
warm into religious sensibility and tenderness. I was naturally led into looking backwards
to the past days of my life, and forward to the future; led to consider in what pleasant
places my lines were fallen, how goodly was my heritage, that the bounds of my life
should be fixed in that little spot, in which, of the whole earth, there has been the
greatest measure of temporal comforts, and of spiritual privileges. That it should be also
in the eighteenth century, for where should I have been, a small, weakly man, had I been
born either among our painted or skin-clothed ancestors, or in almost any other before or
after it? As they would have begun by exposing me, there need be no more inquiry as to
the sequel of the piece. Next take my station in life, neither so high as naturally to
intoxicate me, nor so low as to excite to envy or degradation. Take then the other
particulars of my condition, both personal and circumstantial. But I need go no farther,
but leave it to you to supply the rest. And you will likewise, I doubt not, pursue the same
mental process in your own instance also, and find, as may well be the case, that the
retrospect and prospect afford abundant matter for gratitude and humiliation, (I am sure
I find the latter most powerfully called forth in my heart by my own survey). Many thanks
for your last kind letter. You have precisely anticipated what was said by the several
dramatis personæ. It is a real sacrifice for Emily and you to be absent from my family
circle. But the sacrifice is to duty, and that is enough. And you have no small ground for
comfort, from your not having to go through the 'experiment solitary,' as Lord Bacon
terms it, but to have one, to whom you may say that solitude is sweet. But I must
surrender the pen to your dear mother."
The country was at that time extremely disturbed by what were known as the "Swing
Riots."[62] Bands of rioters went about, burning ricks and threshing machines, then newly
introduced, and considered by the labourers as depriving them of the winter threshing
work. Wilberforce seems to have shared this feeling.
"Highwood Hill,
"November 25, 1830.
"Your mother suggests that a threshing machine used to be kept in one of your barns. If
so I really think it should be removed. I should be very sorry to have it stated that a
threshing machine had been burnt on the premises of the Rev. Samuel Wilberforce; they
take away one of the surest sources of occupation for farmers in frost and snow times. In
what a dreadful state the country now is! Gisborne, I find, has stated his opinion, that
the present is the period of pouring out the 7th Vial, when there was to be general
confusion, insubordination, and misery. It really appears in the political world, like what
the abolition of some of the great elements in the physical world would be; the
extinction, for instance, of the principle of gravity."
"December 9, 1830.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com