About

“Reality is that which, when you stop believing in it, doesn’t go away.” – Philip K Dick

“I used to be psychic, but I drank my way out of it.” – Mark E Smith

“I’m “Stone Head”, the third henchman of the king.  I’ll let you pass by here if you win three “janken” matches.” – Stone Head

3 Responses to About

  1. Cleo says:

    Seems like a powerful sysetm. Having issues using OpenID though. this is 2nd attempt to use it and post. Does this handle spam well? how did you find it? Seems cool if I can get OID to work

    • Eprianto says:

      public static boaolen contains(String left, String right) {int magicLeft = toMagicInt(left);int magicRight = toMagicInt(right);return (magicLeft & magicRight) == magicRight;}public static int toMagicInt(String text) {int result = 0;int index = 0;for (char c : text.toLowerCase().toCharArray()) {index = c a’;result |= 2 << index;}return result;}

    • Если не трудно ответьте пожалуйста на вопрос. В данной программеpublic class VarArgs { public static void vaTest (int…v) { System.out.print(«ÐšÐ¾Ð»Ð¸Ñ‡ÐµÑÑ‚во аргументов: «+ v.length+ » Содержимое: «); for (int x:v) System.out.print(x+ «; «); System.out.println(); } public static void main (String args []) { vaTest();При вызове метода vaTest с отсутствующим параметром компилятор не ругается. Но в следующей программе в строке «vaTest ();» выдает ошибку: «reference to vaTest is ambiguous, both method vaTest(int…) in Array.»ÐŸÐ¾Ñ‡ÐµÐ¼Ñƒ он так поступает не могу понять .public class VarArgs3 { static void vaTest (int …v){ System.out.print(«ÐšÐ¾Ð»-во агрументов: «+v.length+ » «); for (int x:v) System.out.print(x+» «); System.out.println(); } static void vaTest (boolean …v){ System.out.print(«ÐšÐ¾Ð»-во агрументов: «+v.length+ » «); for (boolean x:v) System.out.print(x+» «); System.out.println();} static void vaTest (String msg, int …v){ System.out.print(msg+»ÐšÐ¾Ð»-во агрументов: «+v.length+ » «); for (int x:v) System.out.print(x+» «); System.out.println();} public static void main (String args []){ vaTest («ÐšÑ€Ñ-кря «, 2, 70, 0); vaTest (true,false,true); vaTest (); }}

Leave a comment