SPLDOUBLYLINKEDLIST(3) 1 SPLDOUBLYLINKEDLIST(3)The SplDoublyLinkedList classINTRODUCTION
The SplDoublyLinkedList class provides the main functionalities of a doubly linked list.
CLASS SYNOPSIS
SplDoublyLinkedList
SplDoublyLinkedListIteratorArrayAccessCountable
Methods
o public SplDoublyLinkedList::__construct (void )
o public void SplDoublyLinkedList::add (mixed $index, mixed $newval)
o public mixed SplDoublyLinkedList::bottom (void )
o public int SplDoublyLinkedList::count (void )
o public mixed SplDoublyLinkedList::current (void )
o public int SplDoublyLinkedList::getIteratorMode (void )
o public bool SplDoublyLinkedList::isEmpty (void )
o public mixed SplDoublyLinkedList::key (void )
o public void SplDoublyLinkedList::next (void )
o public bool SplDoublyLinkedList::offsetExists (mixed $index)
o public mixed SplDoublyLinkedList::offsetGet (mixed $index)
o public void SplDoublyLinkedList::offsetSet (mixed $index, mixed $newval)
o public void SplDoublyLinkedList::offsetUnset (mixed $index)
o public mixed SplDoublyLinkedList::pop (void )
o public void SplDoublyLinkedList::prev (void )
o public void SplDoublyLinkedList::push (mixed $value)
o public void SplDoublyLinkedList::rewind (void )
o public string SplDoublyLinkedList::serialize (void )
o public void SplDoublyLinkedList::setIteratorMode (int $mode)
o public mixed SplDoublyLinkedList::shift (void )
o public mixed SplDoublyLinkedList::top (void )
o public void SplDoublyLinkedList::unserialize (string $serialized)
o public void SplDoublyLinkedList::unshift (mixed $value)
o public bool SplDoublyLinkedList::valid (void )
PHP Documentation Group SPLDOUBLYLINKEDLIST(3)
Check Out this Related Man Page
ARRAYITERATOR(3) 1 ARRAYITERATOR(3)The ArrayIterator classINTRODUCTION
This iterator allows to unset and modify values and keys while iterating over Arrays and Objects.
When you want to iterate over the same array multiple times you need to instantiate ArrayObject and let it create ArrayIterator instances
that refer to it either by using foreach or by calling its getIterator() method manually.
CLASS SYNOPSIS
ArrayIterator
ArrayIteratorArrayAccessSeekableIteratorCountableSerializable
Methods
o public void ArrayIterator::append (mixed $value)
o public void ArrayIterator::asort (void )
o public ArrayIterator::__construct ([mixed $array = array()], [int $flags])
o public int ArrayIterator::count (void )
o public mixed ArrayIterator::current (void )
o public array ArrayIterator::getArrayCopy (void )
o public void ArrayIterator::getFlags (void )
o public mixed ArrayIterator::key (void )
o public void ArrayIterator::ksort (void )
o public void ArrayIterator::natcasesort (void )
o public void ArrayIterator::natsort (void )
o public void ArrayIterator::next (void )
o public void ArrayIterator::offsetExists (string $index)
o public mixed ArrayIterator::offsetGet (string $index)
o public void ArrayIterator::offsetSet (string $index, string $newval)
o public void ArrayIterator::offsetUnset (string $index)
o public void ArrayIterator::rewind (void )
o public void ArrayIterator::seek (int $position)
o public string ArrayIterator::serialize (void )
o public void ArrayIterator::setFlags (string $flags)
o public void ArrayIterator::uasort (string $cmp_function)
o public void ArrayIterator::uksort (string $cmp_function)
o public string ArrayIterator::unserialize (string $serialized)
o public bool ArrayIterator::valid (void )
PHP Documentation Group ARRAYITERATOR(3)
I need to do a bakcup for some files, in the same tape but in diferente time....
at 9am i need the file /public/test1.txt then...
tar -cvf /dev/st0 /public/test1.txt
at 12pm i need the file /public/test2.txt the....
tar ¿? /public/test2.txt
in this point i have problem beacuse when... (3 Replies)
what we have:
class TClass {
public:
TClass();
};
template<class T> class FClass<T>: public T {
public:
FClass();
};
TClass::TClass() {
// some code
}
template<class T> FClass<T>::FClass : T() {
// some code
}
int main (int argc,char* argv) { (3 Replies)
Hi,
I'm looking for a possibility to make variables of the shell public to child processes.
Usually I would try
set -a
but an error message appears:
./decrypt.pgm: -a^M: bad option(s)
where decrypt.pgm is the name of the shell script.
Any help welcome!
Cheers Martin (2 Replies)
:confused: I printed some directions on how to make my own web page and they told me to us unix. They also told me to first make a new directory called public then, change it to cd public, but I don't know how can you help me please? I would really appreciate it. Thank you,
Jamie (2 Replies)
hello,
i have a listing (let say ABC) consists of the below:
:
public database link
public synonym
role
rollback segment
:
when i run the below for loop,
for i in `more ABC`
do
echo "$i"
done
it gives me,
:
public
database (4 Replies)
i just started learning to prog in c++, im using netbeans.
i tryed to make a class and i keep getting this error. what am i doing wrong ?
-----------------------------
class test
{
public:
int funtime();
private:
int time;
};
int test::funtime()... (4 Replies)
hi folks..
I am trying the following command in a solaris box:
however after some time I'm getting errors like that:
Any ideas what could be wrong? (1 Reply)
Hello!
Here is what I am trying to do: I am taking a class at school that is using a lot of literature that is in the public domain, and available for free on the web. Rather than read them online in HTML, I have been pulling them down and quickly and dirtily tagging them up and typesetting... (4 Replies)
Hi,
I got some timetable in a file but it is all mixed up like this
01:00 hgrtwhrt #104:00 tyergethr05:00
tqqrthd qrth #107:00 qhtrhqerth10:00 qerthrthqr qtrqthr
qthrrt11:00 thqrthqrthrr
rthgreth #212:00 trhrthrth14:00 wrthwrtwrqrthwrthwr
#2116:00 trqhthtr: rthrthr17:00 rtwhtrhwrth rthwrt... (6 Replies)
Hey all, I have a request from a third party that will be setting my firm up for an account so we can sftp files to their server in a Production environment. I know where the public keys are located on our Red Hat Linux envronment. I was going to ftp the keys from the Linux environment over to my... (2 Replies)
Dears
I am running a shell script to backup (transfer) files to a networked External HDD. Even though the public key has been added it still asks for the password before starting the transfer.
Any suggestions?
Thanks in advance. (8 Replies)
Hello. I want to achieve this:
1.) Finding my public IP. I have this and it works perfectly:
wget http://ipecho.net/plain -O - -q ; echo2.) I need to write this in a dropbox folder (let's say /home/myusername/dropbox).
3.) Put this script in a cronjob for repeating this every 10 minutes.
... (2 Replies)
Can anyone tell me if this is correct when creating classes in Java?
public abstract class Animal
{
public class Point
{
public int x,y;
}
public class Animal
{
protected Point loc;
protected String name;
protected Random rng;
String... (3 Replies)