Query: judy
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
JUDY(3) 1 JUDY(3) The Judy classINTRODUCTIONThe Judy class implements the ArrayAccess interface and the Iterator interface. This class, once instantiated, can be accessed like a PHParray. A PHP Judy object (or Judy Array) can be one of the following type : oJudy::BITSET oJudy::INT_TO_INT oJudy::INT_TO_MIXED oJudy::STRING_TO_INT oJudy::STRING_TO_MIXED Example #1 Judy array example <?php $judy = new Judy(Judy::INT_TO_MIXED); $judy[1] = "one"; $judy[2] = array('a', 'b', 'c'); $judy[3] = new Judy(Judy::BITSET); ?>CLASS SYNOPSISJudy JudyArrayAccessIterator Constants o const integer$Judy::BITSET1 o const integer$Judy::INT_TO_INT2 o const integer$Judy::INT_TO_MIXED3 o const integer$Judy::STRING_TO_INT4 o const integer$Judy::STRING_TO_MIXED5 Methods o public int Judy::byCount (int $nth_index) o public Judy::__construct (int $judy_type) o public int Judy::count ([int $index_start], [int $index_end = -1]) o public void Judy::__destruct (void ) o public mixed Judy::first ([mixed $index]) o public int Judy::firstEmpty ([mixed $index]) o public int Judy::free (void ) o public int Judy::getType (void ) o public void Judy::last ([string $index]) o public int Judy::lastEmpty ([int $index = -1]) o public int Judy::memoryUsage (void ) o public mixed Judy::next (mixed $index) o public int Judy::nextEmpty (int $index) o public bool Judy::offsetExists (mixed $offset) o public mixed Judy::offsetGet (mixed $offset) o public bool Judy::offsetSet (mixed $offset, mixed $value) o public bool Judy::offsetUnset (mixed $offset) o public mixed Judy::prev (mixed $index) o public int Judy::prevEmpty (mixed $index) o public void Judy::size (void )PREDEFINED CONSTANTSo Judy::BITSET -Define the Judy Array as a Bitset with keys as Integer and Values as a Boolean o Judy::INT_TO_INT -Define the Judy Array with key/values as Integer, and Integer only. o Judy::INT_TO_MIXED -Define the Judy Array with keys as Integer and Values of any type. o Judy::STRING_TO_INT -Define the Judy Array with keys as a String and Values as Integer, and Integer only. o Judy::STRING_TO_MIXED -Define the Judy Array with keys as a String and Values of any type. PHP Documentation Group JUDY(3)
Related Man Pages |
---|
judysldel(3x) - hpux |
judyslfreearray(3x) - hpux |
judyslprev(3x) - hpux |
judysl_funcs(3x) - hpux |
arrayobject(3) - php |
Similar Topics in the Unix Linux Community |
---|
Integer to String |
Converting a String variable into Integer |