public void drawChart  ( Graphics2D gc ) { final SelectionGraphics < String [ ] > sgc = ( gc instanceof SelectionGraphics ? ( SelectionGraphics < String [ ] > ) gc : null ) ; gc . setRenderingHint ( RenderingHints . KEY_ANTIALIASING , RenderingHints . VALUE_ANTIALIAS_ON ) ; gc . setFont ( getFont ( ChartViewer . FontKeys . XAxisFont . toString ( ) ) ) ; int y0 = getHeight ( ) - bottomMargin ; int y1 = topMargin ; int x0 = leftMargin ; int scaleWidth = 30 ; int x1 = getWidth ( ) - rightMargin - scaleWidth ; if ( x0 >= x1 ) return ; if ( inUpdateCoordinates ) { gc . setFont ( getFont ( "Default" ) ) ; gc . setColor ( Color . LIGHT_GRAY ) ; gc . drawString ( "Computing correlation plot..." , x0 , y1 + 20 ) ; viewer . getScrollPane ( ) . setCursor ( Cursor . getPredefinedCursor ( Cursor . WAIT_CURSOR ) ) ; return ; } else viewer . getScrollPane ( ) . setCursor ( Cursor . getDefaultCursor ( ) ) ; if ( sgc != null ) { drawYAxis ( gc , null ) ; } if ( ! getChartTitle ( ) . startsWith ( "Correlation plot: " ) ) setChartTitle ( "Correlation plot: " + getChartTitle ( ) ) ; final int numberOfClasses = ( classNames != null ? classNames . length : 0 ) ; final int numberOfAttributes = ( attributeNames != null ? attributeNames . length : 0 ) ; if ( viewer . getClassesList ( ) . isDoClustering ( ) ) y1 += topTreeSpace ; if ( sgc == null ) { drawScaleBar ( gc , x1 , scaleWidth , y1 , y0 - y1 ) ; } if ( viewer . getAttributesList ( ) . isDoClustering ( ) ) { x1 -= rightTreeSpace ; int height = ( int ) Math . round ( ( y0 - y1 ) / ( numberOfAttributes + 1.0 ) * numberOfAttributes ) ; int yStart = y0 + ( ( y1 - y0 ) - height ) / 2 ; final Rectangle rect = new Rectangle ( x1 , yStart , rightTreeSpace , height ) ; attributesClusteringTree . paint ( gc , rect ) ; } if ( viewer . getClassesList ( ) . isDoClustering ( ) ) { int width = ( int ) ( ( x1 - x0 ) / ( numberOfClasses + 1.0 ) * numberOfClasses ) ; int xStart = x0 + ( ( x1 - x0 ) - width ) / 2 ; final Rectangle rect = new Rectangle ( xStart , y1 - topTreeSpace , width , topTreeSpace ) ; classesClusteringTree . paint ( gc , rect ) ; } if ( numberOfClasses > 0 && numberOfAttributes > 0 ) { double xStep = ( x1 - x0 ) / ( double ) numberOfClasses ; double yStep = ( y0 - y1 ) / ( double ) numberOfAttributes ; int d = 0 ; for ( String classNameX : classNames ) { final double xLabel = x0 + ( d + 0.5 ) * xStep ; Point2D apt = new Point2D . Double ( xLabel , getHeight ( ) - bottomMargin + 10 ) ; final Dimension labelSize = Basic . getStringSize ( gc , classNameX , gc . getFont ( ) ) . getSize ( ) ; if ( classLabelAngle == 0 ) { apt . setLocation ( apt . getX ( ) - labelSize . getWidth ( ) / 2 , apt . getY ( ) ) ; } else if ( classLabelAngle > Math . PI / 2 ) { apt = Geometry . translateByAngle ( apt , classLabelAngle , - labelSize . width ) ; } if ( getChartData ( ) . getChartSelection ( ) . isSelected ( null , classNameX ) ) { fillAndDrawRect ( gc , apt . getX ( ) , apt . getY ( ) , labelSize . width , labelSize . height , classLabelAngle , ProgramProperties . SELECTION_COLOR , ProgramProperties . SELECTION_COLOR_DARKER ) ; } gc . setColor ( getFontColor ( ChartViewer . FontKeys . XAxisFont . toString ( ) , Color . DARK_GRAY ) ) ; drawString ( gc , classNameX , apt . getX ( ) , apt . getY ( ) , classLabelAngle ) ; if ( sgc != null ) { sgc . setCurrentItem ( new String [ ] { null , classNameX } ) ; drawRect ( gc , apt . getX ( ) , apt . getY ( ) , labelSize . width , labelSize . height , classLabelAngle ) ; sgc . clearCurrentItem ( ) ; } int c = numberOfAttributes - 1 ; for ( String attributeNameY : attributeNames ) { final Float correlationCoefficient = dataMatrix . get ( classNameX , attributeNameY ) ; if ( correlationCoefficient != null ) { final double [ ] boundingBox = new double [ ] { x0 + d * xStep , y0 - ( c + 1 ) * yStep , xStep , yStep } ; drawCell ( gc , boundingBox , correlationCoefficient ) ; if ( sgc != null && ! sgc . isShiftDown ( ) ) { sgc . setCurrentItem ( new String [ ] { null , classNameX , attributeNameY } ) ; gc . fillRect ( ( int ) Math . round ( boundingBox [ 0 ] ) , ( int ) Math . round ( boundingBox [ 1 ] ) , ( int ) Math . round ( boundingBox [ 2 ] ) , ( int ) Math . round ( boundingBox [ 3 ] ) ) ; sgc . clearCurrentItem ( ) ; sgc . setCurrentItem ( new String [ ] { null , null , attributeNameY } ) ; gc . fillRect ( ( int ) Math . round ( boundingBox [ 0 ] ) , ( int ) Math . round ( boundingBox [ 1 ] ) , ( int ) Math . round ( boundingBox [ 2 ] ) , ( int ) Math . round ( boundingBox [ 3 ] ) ) ; sgc . clearCurrentItem ( ) ; } boolean isSelected = false ; if ( getChartData ( ) . getChartSelection ( ) . isSelectedClass ( classNameX ) ) { if ( getChartData ( ) . getChartSelection ( ) . isSelectedAttribute ( attributeNameY ) || getChartData ( ) . getChartSelection ( ) . getSelectedAttributes ( ) . size ( ) == 0 ) isSelected = true ; } else if ( getChartData ( ) . getChartSelection ( ) . getSelectedClasses ( ) . size ( ) == 0 && getChartData ( ) . getChartSelection ( ) . isSelectedAttribute ( attributeNameY ) ) isSelected = true ; if ( isSelected ) { gc . setStroke ( HEAVY_STROKE ) ; gc . setColor ( ProgramProperties . SELECTION_COLOR ) ; gc . drawRect ( ( int ) Math . round ( boundingBox [ 0 ] ) , ( int ) Math . round ( boundingBox [ 1 ] ) , ( int ) Math . round ( boundingBox [ 2 ] ) , ( int ) Math . round ( boundingBox [ 3 ] ) ) ; gc . setStroke ( NORMAL_STROKE ) ; } if ( showValues || isSelected ) { String aLabel = String . format ( "%.3f" , correlationCoefficient ) ; valuesList . add ( new DrawableValue ( aLabel , ( int ) Math . round ( boundingBox [ 0 ] + boundingBox [ 2 ] / 2 ) , ( int ) Math . round ( boundingBox [ 1 ] + boundingBox [ 3 ] / 2 ) - gc . getFont ( ) . getSize ( ) / 2 , isSelected ) ) ; } } c -- ; } d ++ ; } } if ( valuesList . size ( ) > 0 ) { gc . setFont ( getFont ( ChartViewer . FontKeys . ValuesFont . toString ( ) ) ) ; DrawableValue . drawValues ( gc , valuesList , true , true ) ; valuesList . clear ( ) ; } }

dibujar cuadro de trazado de correlación


public void destroy  ( ) { if ( mSelectorObserver != null ) { mTabModelSelector . removeObserver ( mSelectorObserver ) ; mSelectorObserver = null ; } List < TabModel > tabModels = mTabModelSelector . getModels ( ) ; for ( int i = 0 ; i < tabModels . size ( ) ; i ++ ) { TabModel tabModel = tabModels . get ( i ) ; tabModel . removeObserver ( mTabModelObserver ) ; TabList comprehensiveTabList = tabModel . getComprehensiveModel ( ) ; for ( int j = 0 ; j < comprehensiveTabList . getCount ( ) ; j ++ ) { comprehensiveTabList . getTabAt ( j ) . removeObserver ( this ) ; } } }

Destruye al observador y se retira como un oyente para actualizaciones de pestañas.


public void java_util_jar_JarFile_getMetaInfoEntryNames  ( SootMethod method , ReferenceVariable thisVar , ReferenceVariable returnVar , ReferenceVariable params [ ] ) { helper . assignObjectTo ( returnVar , Environment . v ( ) . getStringObject ( ) ) ; }

Los métodos devuelven una matriz de cuerdas.


public XorPredicate ( Predicate p1 ) { add ( p1 ) ; }


public CancelException ( File file , int depth ) { this ( "Operation Cancelled" , file , depth ) ; }

Construye un <código> CancelExceptionception </ Code> con el archivo y la profundidad cuando se produjo la cancelación.


public ArraySet ( ) { mHashes = ContainerHelpers . EMPTY_INTS ; mArray = ContainerHelpers . EMPTY_OBJECTS ; mSize = 0 ; }

Crea un nuevo matriz vacío.La capacidad predeterminada de un mapa de matriz es 0, y crecerá una vez que se le agreguen los elementos.


public static void overScrollBy  ( final PullToRefreshBase < ? > view , final int deltaX , final int scrollX , final int deltaY , final int scrollY , final boolean isTouchEvent ) { overScrollBy ( view , deltaX , scrollX , deltaY , scrollY , 0 , isTouchEvent ) ; }

Método de ayudante para descifrar que encapsula toda la función necesaria.<P /> Esto solo debe usarse en AdapterView's, como ListView, ya que solo llama a ScrollRinLby () con el ScrollRange = 0. AdapterView no tiene una gama de desplazamiento (es decir, el pendiente () no funciona).


public static byte [ ] generateSalt  ( ) throws GeneralSecurityException  { return randomBytes ( PBE_SALT_LENGTH_BITS ) ; }


protected void pushLeft  ( BinarySearchTreeNode < E > node ) { while ( node != null ) { this . stack . push ( node ) ; node = node . left ; } }

Empuja a los nodos de la izquierda izquierda del subárbol dado en la pila.


public T distance  ( final Vector3D v ) { final T dx = x . subtract ( v . getX ( ) ) ; final T dy = y . subtract ( v . getY ( ) ) ; final T dz = z . subtract ( v . getZ ( ) ) ; return dx . multiply ( dx ) . add ( dy . multiply ( dy ) ) . add ( dz . multiply ( dz ) ) . sqrt ( ) ; }

Calcule la distancia entre la instancia y otro vector de acuerdo con la norma L <SUB> 2 </ SUB>.<p> Llamar a este método es equivalente a llamar: <code> q.subtract (P) .getnorm () </ código> Excepto que no se construye un vector intermedio </ p>


public FriendsGetQueryWithFields count  ( Integer value ) { return unsafeParam ( "count" , value ) ; }


public boolean isWarehouseManaged  ( String facilityId ) { boolean isWarehouseManaged = false ; try { if ( "WIP" . equals ( getProduct ( ) . getString ( "productTypeId" ) ) ) { return false ; } List < GenericValue > pfs = null ; if ( UtilValidate . isEmpty ( facilityId ) ) { pfs = getProduct ( ) . getRelated ( "ProductFacility" , null , null , true ) ; } else { pfs = getProduct ( ) . getRelated ( "ProductFacility" , UtilMisc . toMap ( "facilityId" , facilityId ) , null , true ) ; } if ( UtilValidate . isEmpty ( pfs ) ) { if ( getSubstitutedNode ( ) != null && getSubstitutedNode ( ) . getProduct ( ) != null ) { if ( UtilValidate . isEmpty ( facilityId ) ) { pfs = getSubstitutedNode ( ) . getProduct ( ) . getRelated ( "ProductFacility" , null , null , true ) ; } else { pfs = getSubstitutedNode ( ) . getProduct ( ) . getRelated ( "ProductFacility" , UtilMisc . toMap ( "facilityId" , facilityId ) , null , true ) ; } } } if ( UtilValidate . isNotEmpty ( pfs ) ) { for ( int i = 0 ; i < pfs . size ( ) ; i ++ ) { GenericValue pf = pfs . get ( i ) ; if ( UtilValidate . isNotEmpty ( pf . get ( "minimumStock" ) ) && UtilValidate . isNotEmpty ( pf . get ( "reorderQuantity" ) ) ) { isWarehouseManaged = true ; break ; } } } } catch ( GenericEntityException gee ) { Debug . logError ( "Problem in BOMNode.isWarehouseManaged()" , module ) ; } return isWarehouseManaged ; }

Devuelve FALSO Si el producto de este nodo de BOM es de tipo "WIP" o si no tiene registros de producción de productos definidos, lo que significa que no se establecen objetivos de acciones activas para este producto.


private JsonElement createColourRamp  ( IColorRamp colourRamp ) { JsonArray colourArray = null ; if ( colourRamp != null ) { colourArray = new JsonArray ( ) ; try { for ( int index = 0 ; index < colourRamp . getSize ( ) ; index ++ ) { JsonObject colour = CommonObjects . createColour ( colourRamp . getColor ( index ) ) ; if ( colour != null ) { colourArray . add ( colour ) ; } } } catch ( AutomationException e ) { e . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } } return colourArray ; }


static private void circularConjugateGrads  ( int ntax , int npairs , double [ ] r , double [ ] w , double [ ] p , double [ ] y , double [ ] W , double [ ] b , boolean [ ] active , double [ ] x ) { int kmax = ntax * ( ntax - 1 ) / 2 ; calculateAb ( ntax , x , y ) ; for ( int k = 0 ; k < npairs ; k ++ ) y [ k ] = W [ k ] * y [ k ] ; calculateAtx ( ntax , y , r ) ; for ( int k = 0 ; k < npairs ; k ++ ) if ( ! active [ k ] ) r [ k ] = b [ k ] - r [ k ] ; else r [ k ] = 0.0 ; double rho = norm ( r ) ; double rho_old = 0 ; double e_0 = CG_EPSILON * Math . sqrt ( norm ( b ) ) ; int k = 0 ; while ( ( rho > e_0 * e_0 ) && ( k < kmax ) ) { k = k + 1 ; if ( k == 1 ) { System . arraycopy ( r , 0 , p , 0 , npairs ) ; } else { double beta = rho / rho_old ; for ( int i = 0 ; i < npairs ; i ++ ) p [ i ] = r [ i ] + beta * p [ i ] ; } calculateAb ( ntax , p , y ) ; for ( int i = 0 ; i < npairs ; i ++ ) y [ i ] *= W [ i ] ; calculateAtx ( ntax , y , w ) ; for ( int i = 0 ; i < npairs ; i ++ ) if ( active [ i ] ) w [ i ] = 0.0 ; double alpha = 0.0 ; for ( int i = 0 ; i < npairs ; i ++ ) alpha += p [ i ] * w [ i ] ; alpha = rho / alpha ; for ( int i = 0 ; i < npairs ; i ++ ) { x [ i ] += alpha * p [ i ] ; r [ i ] -= alpha * w [ i ] ; } rho_old = rho ; rho = norm ( r ) ; } }

Conjugado de algoritmo de gradiente resolviendo a ^ twa x = b (donde B = ATWD) de modo que todos X [I] [J] para los que activos [I] [J] = verdadero se fijen en cero.Suponemos que X [I] [J] es cero para todos los i, j, y usamos los valores dados para X como nuestro vector de partida.


public AuthCheckPhoneQuery clientId  ( Integer value ) { return unsafeParam ( "client_id" , value ) ; }


public boolean matchesDirectly  ( String packageRelativePath , boolean isDirectory ) { if ( isDirectory && element . areDirectoriesExcluded ( ) ) { return false ; } for ( String exclude : resolveListContents ( element . getExcludes ( ) ) ) { if ( UnixGlob . matches ( exclude , packageRelativePath ) ) { return false ; } } for ( String include : resolveListContents ( element . getIncludes ( ) ) ) { if ( ! hasWildcard ( include ) && UnixGlob . matches ( include , packageRelativePath ) ) { return true ; } } return false ; }

Devuelve VERDADERO IFF Un patrón de inclusión * Sin comodines * coincide con la ruta dada y no está excluida.


static boolean isTextXml  ( String mime ) { return mime != null && ( mime . equals ( "text/xml" ) || mime . equals ( "text/xml-external-parsed-entity" ) || mime . startsWith ( "text/" ) && mime . endsWith ( "+xml" ) ) ; }

Indica si el tipo MIME pertenece a la familia XML de texto.


public void readerWait  ( Object notifier , long time ) { try { synchronized ( notifier ) { readUnlock ( ) ; notifier . wait ( time ) ; } } catch ( InterruptedException e ) { throw new ConcurrentLockException ( "read wait interrupted in thread" ) ; } finally { readLock ( ) ; } }

Suelte un bloqueo de lectura, espere el período de tiempo dado o hasta que esté notificado por el notificador, luego obtenga un bloqueo de lectura nuevamente.Lanza concurrentlockexception si el hilo se interrumpe;En ese caso, el bloqueo de lectura todavía se lleva a cabo.


public ArrayFieldVector ( Field < T > field , T [ ] d , int pos , int size ) throws MathIllegalArgumentException , NullArgumentException  { MathUtils . checkNotNull ( d ) ; if ( d . length < pos + size ) { throw new MathIllegalArgumentException ( LocalizedCoreFormats . NUMBER_TOO_LARGE , pos + size , d . length ) ; } this . field = field ; data = MathArrays . buildArray ( field , size ) ; System . arraycopy ( d , pos , data , 0 , size ) ; }

Construir un vector de parte de una matriz.


private int measureWidthSize  ( int measureSpec ) { int defSize = dp2px ( DEFAULT_WIDTH ) ; int specSize = MeasureSpec . getSize ( measureSpec ) ; int specMode = MeasureSpec . getMode ( measureSpec ) ; int result = 0 ; switch ( specMode ) { case MeasureSpec . UNSPECIFIED : case MeasureSpec . AT_MOST : result = Math . min ( defSize , specSize ) ; break ; case MeasureSpec . EXACTLY : result = specSize ; break ; } return result ; }


public void reset  ( ) { this . fBuffer . setLength ( 0 ) ; }

Restablece esta impresora para que pueda ser usada nuevamente.


private void scroll  ( float x , float y , float amountX , float amountY , boolean isTilt ) { if ( ( ! mScroller . isFinished ( ) && isTilt ) || mStackTabs == null || ( mOverviewAnimationType != OverviewAnimationType . NONE && mOverviewAnimationType != OverviewAnimationType . DISCARD && mOverviewAnimationType != OverviewAnimationType . UNDISCARD && mOverviewAnimationType != OverviewAnimationType . DISCARD_ALL && mOverviewAnimationType != OverviewAnimationType . ENTER_STACK ) ) { return ; } float amountScreen = mCurrentMode == Orientation . PORTRAIT ? amountY : amountX ; float amountScroll = amountScreen ; float amountEvenOut = amountScreen ; float tabScrollSpaceFinal = 0 ; if ( mScrollingTab == null || isTilt ) { mScrollingTab = getTabAtPositon ( x , y ) ; } if ( mScrollingTab == null && mInSwipe && mStackTabs != null ) { int index = mTabModel . index ( ) ; if ( index >= 0 && index <= mStackTabs . length ) mScrollingTab = mStackTabs [ index ] ; } if ( mScrollingTab == null ) { if ( ! isTilt ) { amountScroll = 0 ; amountEvenOut = 0 ; } } else if ( mScrollingTab . getIndex ( ) == 0 ) { amountEvenOut = 0 ; } else { float tabScrollSpace = mScrollingTab . getScrollOffset ( ) + mScrollOffset ; float tabScreen = scrollToScreen ( tabScrollSpace ) ; tabScrollSpaceFinal = screenToScroll ( tabScreen + amountScreen ) ; amountScroll = tabScrollSpaceFinal - tabScrollSpace ; amountScroll = Math . signum ( amountScreen ) * MathUtils . clamp ( Math . abs ( amountScroll ) , Math . abs ( amountScreen ) * 0.5f , Math . abs ( amountScreen ) * 2.0f ) ; } if ( evenOutTabs ( amountEvenOut , false ) && mScrollingTab . getIndex ( ) > 0 ) { float tabScrollSpace = mScrollingTab . getScrollOffset ( ) + mScrollOffset ; amountScroll = tabScrollSpaceFinal - tabScrollSpace ; } setScrollTarget ( mScrollTarget + amountScroll , false ) ; }

Llamado en el evento de desplazamiento táctil / tilt.


public void disableDashedLine  ( ) { mDashPathEffect = null ; }

Desactiva que la línea se dibuje en modo discontinuo.


public static void overScrollBy  ( final PullToRefreshBase < ? > view , final int deltaX , final int scrollX , final int deltaY , final int scrollY , final int scrollRange , final boolean isTouchEvent ) { overScrollBy ( view , deltaX , scrollX , deltaY , scrollY , scrollRange , 0 , DEFAULT_OVERSCROLL_SCALE , isTouchEvent ) ; }

Método de ayudante para descifrar que encapsula toda la función necesaria.Esta versión de la llamada se usa para las vistas que necesitan especificar un rango de desplazamiento, pero vuelve a desplazarse a su borde correctamente.


private void createInitializer  ( polyglot . ast . Initializer initializer ) { if ( initializer . flags ( ) . isStatic ( ) ) { if ( staticInitializerBlocks == null ) { staticInitializerBlocks = new ArrayList < Block > ( ) ; } staticInitializerBlocks . add ( initializer . body ( ) ) ; } else { if ( initializerBlocks == null ) { initializerBlocks = new ArrayList < Block > ( ) ; } initializerBlocks . add ( initializer . body ( ) ) ; } }


public void actionPerformed  ( ActionEvent ev ) { String fontName = ProgramProperties . get ( "Font" , "Arial-PLAIN-12" ) ; fontName = JOptionPane . showInputDialog ( "Enter font" , fontName ) ; if ( fontName != null ) { execute ( "set font='" + fontName + "';" ) ; ProgramProperties . put ( "Font" , fontName ) ; } }


protected PhotosRemoveTagQuery tagId  ( int value ) { return unsafeParam ( "tag_id" , value ) ; }


private static String unescapeForEncodeUriCompatability  ( String str ) { return str . replace ( "%21" , "!" ) . replace ( "%7E" , "~" ) . replace ( "%27" , "'" ) . replace ( "%28" , "(" ) . replace ( "%29" , ")" ) . replace ( "%3B" , ";" ) . replace ( "%2F" , "/" ) . replace ( "%3F" , "?" ) . replace ( "%3A" , ":" ) . replace ( "%40" , "@" ) . replace ( "%26" , "&" ) . replace ( "%3D" , "=" ) . replace ( "%2B" , "+" ) . replace ( "%24" , "$" ) . replace ( "%2C" , "," ) . replace ( "%23" , "#" ) ; }

Unescape seleccionó los caracteres de compatibilidad con los encodeuri de Javascript.En las aplicaciones críticas de velocidad, esto podría reducirse, ya que la solicitud de recepción seguramente decodificará estas multa.Tenga en cuenta que esta función distingue entre mayúsculas y minúsculas.Así, "% 3F" no estaría sin viscape.Pero esto está bien porque solo se llama con la salida de URLENCODER.ENCODE, que devuelve HEX en mayúsculas.Ejemplo: "% 3f" -> "?", "% 24" -> "$", etc.


public void treeWillCollapse  ( TreeExpansionEvent event ) throws ExpandVetoException { if ( inspectorWindow . isLocked ( ) ) { if ( dir . getDocument ( ) . getProgressListener ( ) != null ) dir . getDocument ( ) . getProgressListener ( ) . setUserCancelled ( true ) ; throw new ExpandVetoException ( event ) ; } }

Se invoca cada vez que un nodo en el árbol está a punto de ser colapsado.


public static int modulateAlpha  ( int colorAlpha , int alpha ) { int scale = alpha + ( alpha >> 7 ) ; return colorAlpha * scale >> 8 ; }


protected WallGetByIdQueryWithExtended extended  ( Boolean value ) { return unsafeParam ( "extended" , value ) ; }

Devolver los objetos del usuario y la comunidad necesarios para mostrar las publicaciones


public AsyncCatchOptions useRazzberries  ( boolean useRazzBerries ) { this . useRazzBerry = useRazzBerries ? 1 : 0 ; return this ; }

Habilitar o deshabilitar el uso de razzberries.


public static Method findMethod  ( Object instance , String name , Class < ? > ... parameterTypes ) throws NoSuchMethodException { for ( Class < ? > clazz = instance . getClass ( ) ; clazz != null ; clazz = clazz . getSuperclass ( ) ) { try { Method method = clazz . getDeclaredMethod ( name , parameterTypes ) ; if ( ! method . isAccessible ( ) ) { method . setAccessible ( true ) ; } return method ; } catch ( NoSuchMethodException e ) { } } throw new NoSuchMethodException ( "Method " + name + " with parameters " + Arrays . asList ( parameterTypes ) + " not found in " + instance . getClass ( ) ) ; }

Localiza un método dado en cualquier lugar de la jerarquía de herencia de clase.


public static void update  ( VisualItem item , String field , Object val ) { item . set ( getStartField ( field ) , item . get ( field ) ) ; item . set ( field , val ) ; item . set ( getEndField ( field ) , val ) ; }

Actualice los valores en una columna interpolada (un conjunto de tres columnas que representan un valor actual junto con los valores de inicio y finalización).El valor actual se convertirá en el nuevo valor de inicio, mientras que el valor dado se convertirá en los nuevos valores actuales y finalizados.


protected void onHideAnimationStart  ( ) { setResultsBarVisibility ( false ) ; }

Llamado por la implementación específica de la tableta cuando la animación oculta está a punto de comenzar.


public boolean addEdge  ( Edge e ) { if ( ! edges . add ( e ) ) return false ; stream . add ( e ) ; srcMap . put ( e . getSrc ( ) , e ) ; tgtMap . put ( e . getTgt ( ) , e ) ; unitMap . put ( e . srcUnit ( ) , e ) ; return true ; }

Se utiliza para agregar un borde al gráfico de llamadas.Devuelve VERDADERO IFF El borde aún no estaba presente.


private String populateI18nStrings  ( String dataEntryFormCode , I18n i18n ) { StringBuffer sb = new StringBuffer ( ) ; Pattern i18nPattern = Pattern . compile ( "(<i18n.*?)[/]?</i18n>" , Pattern . DOTALL ) ; Matcher i18nMatcher = i18nPattern . matcher ( dataEntryFormCode ) ; while ( i18nMatcher . find ( ) ) { String i18nCode = i18nMatcher . group ( 1 ) ; i18nCode = i18nCode . replaceAll ( "<i18n>" , "" ) ; i18nCode = i18n . getString ( i18nCode ) ; i18nMatcher . appendReplacement ( sb , i18nCode ) ; } i18nMatcher . appendTail ( sb ) ; String result = sb . toString ( ) . replaceAll ( "</i18n>" , "" ) ; return result ; }

Reemplaza la cadena I18N en el código de formulario personalizado.


@ Override public void mark  ( int readAheadLimit ) { mark = idx ; }


public void smoothOpenLeftMenu  ( int position ) { smoothOpenMenu ( position , LEFT_DIRECTION , SwipeMenuLayout . DEFAULT_SCROLLER_DURATION ) ; }


public GroupsAddLinkQuery ( VkApiClient client , UserActor actor , int groupId , String link ) { super ( client , "groups.addLink" , GroupLink . class ) ; accessToken ( actor . getAccessToken ( ) ) ; groupId ( groupId ) ; link ( link ) ; }

Crea una instancia abstractQueryBuilder que se puede usar para construir una solicitud API con varios parámetros


public void closeDriver  ( ) { if ( camera != null ) { FlashlightManager . disableFlashlight ( ) ; camera . release ( ) ; camera = null ; } }

Cierra el controlador de la cámara si aún está en uso.


public void whitelistRequests  ( String [ ] patterns , int responseCode ) { if ( patterns == null || patterns . length == 0 ) { this . enableEmptyWhitelist ( responseCode ) ; } else { this . whitelistRequests ( Arrays . asList ( patterns ) , responseCode ) ; } }

Lista blanca Los patrones de solicitud especificados, que devuelven el código responsable especificado para solicitudes no en blanco.


public CronTimer ( String expression ) { this . cronExpression = expression ; }


public Decision suggestCategory  ( String sFilename ) { DocumentNGramGraph dDoc = new DocumentNGramSymWinGraph ( ) ; try { dDoc . loadDataStringFromFile ( sFilename ) ; } catch ( IOException ex ) { Logger . getLogger ( Decider . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; return null ; } return suggestCategory ( dDoc ) ; }

Sugiere una categoría para un archivo dado.


private void closeMenuDrawer  ( ) { if ( mDrawerLayout != null ) { mDrawerLayout . closeDrawer ( MENU_DRAWER_GRAVITY ) ; } }

Se utiliza para cerrar el cajón del menú.


public static IProgressMonitor subMonitorFor  ( IProgressMonitor monitor , int ticks , int style ) { if ( monitor == null ) return new NullProgressMonitor ( ) ; if ( monitor instanceof NullProgressMonitor ) return monitor ; return new SubProgressMonitor ( monitor , ticks , style ) ; }


public static void ensureTreeIsLoaded  ( String name ) { get ( name , true ) ; }

Asegúrese de que el árbol y el mapeo para la clasificación denominada estén cargados


public Criteria createCriteria  ( ) { Criteria criteria = createCriteriaInternal ( ) ; if ( oredCriteria . size ( ) == 0 ) { oredCriteria . add ( criteria ) ; } return criteria ; }

Este método fue generado por MyBatis Generator.Este método corresponde a la tabla de la base de datos Public.Rules


@ NotNull public AddFaceToPersonAction addFaceToPerson  ( @ NotNull String personGroupId , @ NotNull String personId , String userData , File image ) { return addFaceToPerson ( personGroupId , personId , userData , Utils . fileToFileInputStream ( image ) ) ; }

Agregue una cara representativa a una persona para la identificación. La cara de entrada se especifica como una imagen con un rectángulo TargetFace. Devuelve un Facio Persisted, que representa la cara agregada y este Facio Persisted no caducará. <P> La PersistedFaceID solo se usa en la cara: identifique y persona: elimine una cara a una persona que cada persona tiene un máximo de 248 caras. <P> JPEG, PNG, GIF (el primer cuadro) y BMP son compatibles. El tamaño del archivo de imagen no debe ser más grande que 4MB. <p> El tamaño de la cara detectable es entre 36x36 a 4096x4096 píxeles. No se detectarán las caras de este rango. <P> Rectángulo especificado por TargetFace debe contener exactamente una cara. Cero o múltiples caras se considerarán como un error. Fuera del tamaño de la cara detectable, la postura de la cabeza grande, o las oclusiones muy grandes también darán lugar a que no logran agregar una cara de persona. <p> El rectángulo dado especifica tanto la ubicación de la cara y el tamaño de la cara al mismo tiempo. No hay garantía de resultados corrientes si está utilizando el rectángulo que no se devuelve de la detección de la cara.


public static SM_SYSTEM_MESSAGE STR_MSG_ITEM_SEAL_STATUS_UNSEALPROGRESS  ( String value0 , String durationday1 ) { return new SM_SYSTEM_MESSAGE ( 1400807 , value0 , durationday1 ) ; }

% 0 está ahora pendiente de nuevo.Esto tomará% diario1 días.


private SubHyperplane < Euclidean3D > recurseFirstIntersection  ( final BSPTree < Euclidean3D > node , final Vector3D point , final Line line ) { final SubHyperplane < Euclidean3D > cut = node . getCut ( ) ; if ( cut == null ) { return null ; } final BSPTree < Euclidean3D > minus = node . getMinus ( ) ; final BSPTree < Euclidean3D > plus = node . getPlus ( ) ; final Plane plane = ( Plane ) cut . getHyperplane ( ) ; final double offset = plane . getOffset ( ( Point < Euclidean3D > ) point ) ; final boolean in = FastMath . abs ( offset ) < getTolerance ( ) ; final BSPTree < Euclidean3D > near ; final BSPTree < Euclidean3D > far ; if ( offset < 0 ) { near = minus ; far = plus ; } else { near = plus ; far = minus ; } if ( in ) { final SubHyperplane < Euclidean3D > facet = boundaryFacet ( point , node ) ; if ( facet != null ) { return facet ; } } final SubHyperplane < Euclidean3D > crossed = recurseFirstIntersection ( near , point , line ) ; if ( crossed != null ) { return crossed ; } if ( ! in ) { final Vector3D hit3D = plane . intersection ( line ) ; if ( hit3D != null && line . getAbscissa ( hit3D ) > line . getAbscissa ( point ) ) { final SubHyperplane < Euclidean3D > facet = boundaryFacet ( hit3D , node ) ; if ( facet != null ) { return facet ; } } } return recurseFirstIntersection ( far , point , line ) ; }

Obtenga el primer sub-hiperplano cruzado por una línea semi-infinita.


public AdsImportTargetContactsQuery clientId  ( Integer value ) { return unsafeParam ( "client_id" , value ) ; }

"Solo para las agencias de publicidad".ID del cliente con la cuenta de publicidad donde se creará el grupo.


@ Override public String toString  ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( getClass ( ) . getSimpleName ( ) ) ; sb . append ( " [" ) ; sb . append ( "Hash = " ) . append ( hashCode ( ) ) ; sb . append ( ", menuName=" ) . append ( menuName ) ; sb . append ( ", menuType=" ) . append ( menuType ) ; sb . append ( ", parentId=" ) . append ( parentId ) ; sb . append ( ", iconcls=" ) . append ( iconcls ) ; sb . append ( ", request=" ) . append ( request ) ; sb . append ( ", expand=" ) . append ( expand ) ; sb . append ( ", sortNo=" ) . append ( sortNo ) ; sb . append ( ", isShow=" ) . append ( isShow ) ; sb . append ( ", permission=" ) . append ( permission ) ; sb . append ( "]" ) ; return sb . toString ( ) ; }

Este método fue generado por MyBatis Generator.Este método corresponde a la tabla de la base de datos SYS_MENU


public static java . sql . Timestamp toTimestamp  ( String dateTime ) { java . util . Date newDate = toDate ( dateTime ) ; if ( newDate != null ) { return new java . sql . Timestamp ( newDate . getTime ( ) ) ; } else { return null ; } }

Convierte una cadena de fecha y hora en una marca de tiempo


public Reader ( RecordStream recordStream , DataInputStream in , long startSequenceId ) { this ( recordStream , in , startSequenceId , true ) ; }


public static void loadClass  ( String name ) { SootClass c = Scene . v ( ) . loadClassAndSupport ( name ) ; c . setApplicationClass ( ) ; Iterator mi = c . getMethods ( ) . iterator ( ) ; while ( mi . hasNext ( ) ) { SootMethod sm = ( SootMethod ) mi . next ( ) ; if ( sm . isConcrete ( ) ) { sm . retrieveActiveBody ( ) ; } } }

Carga la clase llamada en la escena del hollín, lo marca como una clase de aplicación y genera cuerpos para todos sus métodos concretos.


public static InputStream toInputStream  ( CharSequence input , Charset encoding ) { return toInputStream ( input . toString ( ) , encoding ) ; }

Convierta la carletencia especificada a un flujo de entrada, codificado como bytes usando la codificación de caracteres especificada.


public final boolean isAlternatingTarget  ( ) { return ( myAlternate & CFG_TARGET ) != 0 ; }

Devuelve verdadero si se alterna el objetivo


public UsersSearchQuery sort  ( UsersSearchSort value ) { return unsafeParam ( "sort" , value ) ; }


protected void assertEquals  ( String msg , Fraction [ ] m , Fraction [ ] n ) { if ( m . length != n . length ) { Assert . fail ( "vectors have different lengths" ) ; } for ( int i = 0 ; i < m . length ; i ++ ) { Assert . assertEquals ( msg + " " + i + " elements differ" , m [ i ] , n [ i ] ) ; } }

Verifica que dos vectores estén cerca (SUP NORM)


public static final void fillPolygon  ( GL2 gl , Vector2 ... vs ) { gl . glBegin ( GL2 . GL_POLYGON ) ; for ( int i = 0 ; i < vs . length ; i ++ ) { Vector2 v = vs [ i ] ; gl . glVertex2d ( v . x , v . y ) ; } gl . glEnd ( ) ; }

Llena el polígono especificado por los vértices.


private void appendPermittedContentType  ( ContentType contentType ) { if ( permittedContentTypesMask == ContentType . ANY . getFlagValue ( ) ) { permittedContentTypesMask = contentType . getFlagValue ( ) ; } else { permittedContentTypesMask |= contentType . getFlagValue ( ) ; } }

Anexa el nuevo valor de tipo de contenido a la lista permitida (según los tipos de contenido permitidos actuales)


public CompletableFuture < Integer > unloadServiceUnit  ( ServiceUnitId serviceUnit ) { CompletableFuture < Integer > result = new CompletableFuture < Integer > ( ) ; List < CompletableFuture < Void > > closeFutures = Lists . newArrayList ( ) ; topics . forEach ( null ) ; CompletableFuture < Void > aggregator = FutureUtil . waitForAll ( closeFutures ) ; aggregator . thenAccept ( null ) . exceptionally ( null ) ; return result ; }

Descargar todo el tema servido por el Servicio de Broker bajo la unidad de servicio dada


protected final boolean handleAllocNode  ( AllocNode src ) { boolean ret = false ; Node [ ] targets = pag . allocLookup ( src ) ; for ( Node element : targets ) { if ( element . makeP2Set ( ) . add ( src ) ) { varNodeWorkList . add ( element ) ; ret = true ; } } return ret ; }

Propaga nuevos puntos: a la información del nodo SRC a todos sus sucesores.


public AionPacketHandlerFactory ( ) { handler = new AionPacketHandler ( ) ; addPacket ( new CM_UI_SETTINGS ( 0xC4 , State . IN_GAME ) ) ; addPacket ( new CM_MOTION ( 0x101 , State . IN_GAME ) ) ; addPacket ( new CM_WINDSTREAM ( 0x100 , State . IN_GAME ) ) ; addPacket ( new CM_STOP_TRAINING ( 0x112 , State . IN_GAME ) ) ; addPacket ( new CM_REVIVE ( 0xC3 , State . IN_GAME ) ) ; addPacket ( new CM_DUEL_REQUEST ( 0x14C , State . IN_GAME ) ) ; addPacket ( new CM_CRAFT ( 0x14B , State . IN_GAME ) ) ; addPacket ( new CM_QUESTION_RESPONSE ( 0x10C , State . IN_GAME ) ) ; addPacket ( new CM_OPEN_STATICDOOR ( 0xD1 , State . IN_GAME ) ) ; addPacket ( new CM_SPLIT_ITEM ( 0x15B , State . IN_GAME ) ) ; addPacket ( new CM_CUSTOM_SETTINGS ( 0xCA , State . IN_GAME ) ) ; addPacket ( new CM_PLAY_MOVIE_END ( 0x12F , State . IN_GAME ) ) ; addPacket ( new CM_LEVEL_READY ( 0xC7 , State . IN_GAME ) ) ; addPacket ( new CM_ENTER_WORLD ( 0xC6 , State . AUTHED ) ) ; addPacket ( new CM_TIME_CHECK ( 0xEC , State . CONNECTED , State . AUTHED , State . IN_GAME ) ) ; addPacket ( new CM_QUIT ( 0xDD , State . AUTHED , State . IN_GAME ) ) ; addPacket ( new CM_L2AUTH_LOGIN_CHECK ( 0x153 , State . CONNECTED ) ) ; addPacket ( new CM_CHARACTER_LIST ( 0x150 , State . AUTHED ) ) ; addPacket ( new CM_CREATE_CHARACTER ( 0x151 , State . AUTHED ) ) ; addPacket ( new CM_MAC_ADDRESS ( 0x17B , State . CONNECTED , State . AUTHED , State . IN_GAME ) ) ; addPacket ( new CM_CHARACTER_PASSKEY ( 0x1AC , State . AUTHED ) ) ; addPacket ( new CM_MAY_LOGIN_INTO_GAME ( 0x174 , State . AUTHED ) ) ; addPacket ( new CM_MOVE ( 0x10E , State . IN_GAME ) ) ; addPacket ( new CM_CASTSPELL ( 0xFF , State . IN_GAME ) ) ; addPacket ( new CM_EMOTION ( 0xE5 , State . IN_GAME ) ) ; addPacket ( new CM_TITLE_SET ( 0x145 , State . IN_GAME ) ) ; addPacket ( new CM_DELETE_ITEM ( 0x132 , State . IN_GAME ) ) ; addPacket ( new CM_QUEST_SHARE ( 0x162 , State . IN_GAME ) ) ; addPacket ( new CM_DELETE_QUEST ( 0x12E , State . IN_GAME ) ) ; addPacket ( new CM_ABYSS_RANKING_PLAYERS ( 0x17A , State . IN_GAME ) ) ; addPacket ( new CM_ABYSS_RANKING_LEGIONS ( 0x130 , State . IN_GAME ) ) ; addPacket ( new CM_PRIVATE_STORE ( 0x131 , State . IN_GAME ) ) ; addPacket ( new CM_USE_ITEM ( 0xE3 , State . IN_GAME ) ) ; addPacket ( new CM_TARGET_SELECT ( 0xD9 , State . IN_GAME ) ) ; addPacket ( new CM_SHOW_DIALOG ( 0x2F2 , State . IN_GAME ) ) ; addPacket ( new CM_CHECK_NICKNAME ( 0x18F , State . AUTHED ) ) ; addPacket ( new CM_PRIVATE_STORE_NAME ( 0x136 , State . IN_GAME ) ) ; addPacket ( new CM_DELETE_CHARACTER ( 0x156 , State . AUTHED ) ) ; addPacket ( new CM_RESTORE_CHARACTER ( 0x157 , State . AUTHED ) ) ; addPacket ( new CM_MACRO_CREATE ( 0x169 , State . IN_GAME ) ) ; addPacket ( new CM_MACRO_DELETE ( 0x18E , State . IN_GAME ) ) ; addPacket ( new CM_GATHER ( 0xED , State . IN_GAME ) ) ; addPacket ( new CM_INSTANCE_INFO ( 0x19E , State . IN_GAME ) ) ; addPacket ( new CM_CLIENT_COMMAND_ROLL ( 0x125 , State . IN_GAME ) ) ; addPacket ( new CM_START_LOOT ( 0x154 , State . IN_GAME ) ) ; addPacket ( new CM_CLOSE_DIALOG ( 0x2F3 , State . IN_GAME ) ) ; addPacket ( new CM_DIALOG_SELECT ( 0x2F0 , State . IN_GAME ) ) ; addPacket ( new CM_BUY_ITEM ( 0x10D , State . IN_GAME ) ) ; addPacket ( new CM_EQUIP_ITEM ( 0xE0 , State . IN_GAME ) ) ; addPacket ( new CM_TELEPORT_SELECT ( 0x152 , State . IN_GAME ) ) ; addPacket ( new CM_LOOT_ITEM ( 0x155 , State . IN_GAME ) ) ; addPacket ( new CM_QUESTIONNAIRE ( 0x16F , State . IN_GAME ) ) ; addPacket ( new CM_ATTACK ( 0xFE , State . IN_GAME ) ) ; addPacket ( new CM_PET ( 0xD0 , State . IN_GAME ) ) ; addPacket ( new CM_TUNE ( 0x1A5 , State . IN_GAME ) ) ; addPacket ( new CM_PET_EMOTE ( 0xD3 , State . IN_GAME ) ) ; addPacket ( new CM_CHALLENGE_LIST ( 0x1A6 , State . IN_GAME ) ) ; addPacket ( new CM_SHOW_FRIENDLIST ( 0x1A0 , State . IN_GAME ) ) ; addPacket ( new CM_FRIEND_ADD ( 0x129 , State . IN_GAME ) ) ; addPacket ( new CM_FRIEND_DEL ( 0x14E , State . IN_GAME ) ) ; addPacket ( new CM_FRIEND_STATUS ( 0x164 , State . IN_GAME ) ) ; addPacket ( new CM_FRIEND_EDIT ( 0x1A9 , State . IN_GAME ) ) ; addPacket ( new CM_SET_NOTE ( 0x2F4 , State . IN_GAME ) ) ; addPacket ( new CM_MARK_FRIENDLIST ( 0x128 , State . IN_GAME ) ) ; addPacket ( new CM_SHOW_BLOCKLIST ( 0x158 , State . IN_GAME ) ) ; addPacket ( new CM_BLOCK_ADD ( 0x160 , State . IN_GAME ) ) ; addPacket ( new CM_BLOCK_DEL ( 0x161 , State . IN_GAME ) ) ; addPacket ( new CM_PLAYER_SEARCH ( 0x159 , State . IN_GAME ) ) ; addPacket ( new CM_LEGION ( 0xEB , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_WH_KINAH ( 0x10A , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_UPLOAD_INFO ( 0x17E , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_UPLOAD_EMBLEM ( 0x17F , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_SEARCH ( 0x1BA , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_JOIN_REQUEST ( 0x1BB , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_JOIN_REQUEST_CANCEL ( 0x1B8 , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_SEND_EMBLEM_INFO ( 0xEE , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_SEND_EMBLEM ( 0xE9 , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_MODIFY_EMBLEM ( 0x2F5 , State . IN_GAME ) ) ; addPacket ( new CM_LEGION_TABS ( 0x2F1 , State . IN_GAME ) ) ; addPacket ( new CM_STONESPEAR_SIEGE ( 0xDB , State . IN_GAME ) ) ; addPacket ( new CM_FIND_GROUP ( 0x10B , State . IN_GAME ) ) ; addPacket ( new CM_AUTO_GROUP ( 0x186 , State . IN_GAME ) ) ; addPacket ( new CM_INVITE_TO_GROUP ( 0x13F , State . IN_GAME ) ) ; addPacket ( new CM_GROUP_DISTRIBUTION ( 0x12A , State . IN_GAME ) ) ; addPacket ( new CM_GROUP_LOOT ( 0x176 , State . IN_GAME ) ) ; addPacket ( new CM_GROUP_DATA_EXCHANGE ( 0x109 , State . IN_GAME ) ) ; addPacket ( new CM_DISTRIBUTION_SETTINGS ( 0x177 , State . IN_GAME ) ) ; addPacket ( new CM_SHOW_BRAND ( 0x173 , State . IN_GAME ) ) ; addPacket ( new CM_BROKER_LIST ( 0x135 , State . IN_GAME ) ) ; addPacket ( new CM_BROKER_SEARCH ( 0x13A , State . IN_GAME ) ) ; addPacket ( new CM_REGISTER_BROKER_ITEM ( 0x139 , State . IN_GAME ) ) ; addPacket ( new CM_BROKER_ADD_ITEM ( 0x133 , State . IN_GAME ) ) ; addPacket ( new CM_BROKER_SETTLE_LIST ( 0x15F , State . IN_GAME ) ) ; addPacket ( new CM_BROKER_REGISTERED ( 0x13B , State . IN_GAME ) ) ; addPacket ( new CM_BUY_BROKER_ITEM ( 0x138 , State . IN_GAME ) ) ; addPacket ( new CM_BROKER_CANCEL_REGISTERED ( 0x15E , State . IN_GAME ) ) ; addPacket ( new CM_BROKER_SETTLE_ACCOUNT ( 0x15C , State . IN_GAME ) ) ; addPacket ( new CM_PING_REQUEST ( 0x121 , State . IN_GAME ) ) ; addPacket ( new CM_PING ( 0xEA , State . AUTHED , State . IN_GAME ) ) ; addPacket ( new CM_SUMMON_EMOTION ( 0x184 , State . IN_GAME ) ) ; addPacket ( new CM_SUMMON_ATTACK ( 0x185 , State . IN_GAME ) ) ; addPacket ( new CM_SUMMON_CASTSPELL ( 0x018B , State . IN_GAME ) ) ; addPacket ( new CM_SUMMON_COMMAND ( 0x137 , State . IN_GAME ) ) ; addPacket ( new CM_SUMMON_MOVE ( 0x187 , State . IN_GAME ) ) ; addPacket ( new CM_CHECK_MAIL_SIZE ( 0x143 , State . IN_GAME ) ) ; addPacket ( new CM_CHECK_MAIL_SIZE2 ( 0x193 , State . IN_GAME ) ) ; addPacket ( new CM_SEND_MAIL ( 0x142 , State . IN_GAME ) ) ; addPacket ( new CM_READ_MAIL ( 0x140 , State . IN_GAME ) ) ; addPacket ( new CM_READ_EXPRESS_MAIL ( 0x17C , State . IN_GAME ) ) ; addPacket ( new CM_DELETE_MAIL ( 0x147 , State . IN_GAME ) ) ; addPacket ( new CM_GET_MAIL_ATTACHMENT ( 0x146 , State . IN_GAME ) ) ; addPacket ( new CM_EXCHANGE_ADD_ITEM ( 0x11E , State . IN_GAME ) ) ; addPacket ( new CM_EXCHANGE_ADD_KINAH ( 0x11C , State . IN_GAME ) ) ; addPacket ( new CM_EXCHANGE_LOCK ( 0x11D , State . IN_GAME ) ) ; addPacket ( new CM_EXCHANGE_CANCEL ( 0x103 , State . IN_GAME ) ) ; addPacket ( new CM_EXCHANGE_OK ( 0x102 , State . IN_GAME ) ) ; addPacket ( new CM_EXCHANGE_REQUEST ( 0x2F9 , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_OPEN_DOOR ( 0x1BC , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_TELEPORT_BACK ( 0x119 , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_SCRIPT ( 0xD8 , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_TELEPORT ( 0x198 , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_EDIT ( 0x12C , State . IN_GAME ) ) ; addPacket ( new CM_USE_HOUSE_OBJECT ( 0x1BE , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_SETTINGS ( 0x107 , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_KICK ( 0x106 , State . IN_GAME ) ) ; addPacket ( new CM_GET_HOUSE_BIDS ( 0x194 , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_PAY_RENT ( 0x199 , State . IN_GAME ) ) ; addPacket ( new CM_REGISTER_HOUSE ( 0x195 , State . IN_GAME ) ) ; addPacket ( new CM_PLACE_BID ( 0x19B , State . IN_GAME ) ) ; addPacket ( new CM_HOUSE_DECORATE ( 0x105 , State . IN_GAME ) ) ; addPacket ( new CM_RELEASE_OBJECT ( 0x1BF , State . IN_GAME ) ) ; addPacket ( new CM_OBJECT_SEARCH ( 0xC5 , State . IN_GAME ) ) ; addPacket ( new CM_MOVE_IN_AIR ( 0x10F , State . IN_GAME ) ) ; addPacket ( new CM_VIEW_PLAYER_DETAILS ( 0x122 , State . IN_GAME ) ) ; addPacket ( new CM_TELEPORT_DONE ( 0xC9 , State . IN_GAME ) ) ; addPacket ( new CM_CHARACTER_EDIT ( 0xC1 , State . AUTHED ) ) ; addPacket ( new CM_PLAYER_STATUS_INFO ( 0x13E , State . IN_GAME ) ) ; addPacket ( new CM_MANASTONE ( 0x104 , State . IN_GAME ) ) ; addPacket ( new CM_FUSION_WEAPONS ( 0x188 , State . IN_GAME ) ) ; addPacket ( new CM_ITEM_REMODEL ( 0x114 , State . IN_GAME ) ) ; addPacket ( new CM_TOGGLE_SKILL_DEACTIVATE ( 0xFC , State . IN_GAME ) ) ; addPacket ( new CM_RECIPE_DELETE ( 0x117 , State . IN_GAME ) ) ; addPacket ( new CM_REMOVE_ALTERED_STATE ( 0xFD , State . IN_GAME ) ) ; addPacket ( new CM_MAY_QUIT ( 0xC2 , State . AUTHED , State . IN_GAME ) ) ; addPacket ( new CM_REPORT_PLAYER ( 0x179 , State . IN_GAME ) ) ; addPacket ( new CM_PLAYER_LISTENER ( 0xE6 , State . IN_GAME ) ) ; addPacket ( new CM_BONUS_TITLE ( 0x1A7 , State . IN_GAME ) ) ; addPacket ( new CM_BUY_TRADE_IN_TRADE ( 0x116 , State . IN_GAME ) ) ; addPacket ( new CM_BREAK_WEAPONS ( 0x189 , State . IN_GAME ) ) ; addPacket ( new CM_CHARGE_ITEM ( 0x108 , State . IN_GAME ) ) ; addPacket ( new CM_USE_CHARGE_SKILL ( 0x1A4 , State . IN_GAME ) ) ; addPacket ( new CM_RECONNECT_AUTH ( 0x171 , State . AUTHED ) ) ; addPacket ( new CM_BLOCK_SET_REASON ( 0x18D , State . IN_GAME ) ) ; addPacket ( new CM_INSTANCE_LEAVE ( 0xE8 , State . IN_GAME ) ) ; addPacket ( new CM_APPEARANCE ( 0x183 , State . IN_GAME ) ) ; addPacket ( new CM_CAPTCHA ( 0xC8 , State . IN_GAME ) ) ; addPacket ( new CM_COMPOSITE_STONES ( 0x1AE , State . IN_GAME ) ) ; addPacket ( new CM_MEGAPHONE ( 0x1AB , State . IN_GAME ) ) ; addPacket ( new CM_SUBZONE_CHANGE ( 0x17D , State . IN_GAME ) ) ; addPacket ( new CM_MOVE_ITEM ( 0x15A , State . IN_GAME ) ) ; addPacket ( new CM_SELECTITEM_OK ( 0x1AA , State . IN_GAME ) ) ; addPacket ( new CM_GAMEGUARD ( 0x126 , State . IN_GAME ) ) ; addPacket ( new CM_FAST_TRACK_CHECK ( 0x191 , State . IN_GAME ) ) ; addPacket ( new CM_FAST_TRACK ( 0x196 , State . IN_GAME ) ) ; addPacket ( new CM_DIRECT_ENTER_WORLD ( 0x191 , State . IN_GAME ) ) ; addPacket ( new CM_CHAT_AUTH ( 0x168 , State . IN_GAME ) ) ; addPacket ( new CM_CHAT_MESSAGE_PUBLIC ( 0xD5 , State . IN_GAME ) ) ; addPacket ( new CM_CHAT_GROUP_INFO ( 0x2FB , State . IN_GAME ) ) ; addPacket ( new CM_CHAT_MESSAGE_WHISPER ( 0xDA , State . IN_GAME ) ) ; addPacket ( new CM_CHAT_PLAYER_INFO ( 0xE1 , State . IN_GAME ) ) ; addPacket ( new CM_VERSION_CHECK ( 0xDE , State . CONNECTED ) ) ; addPacket ( new CM_FATIGUE_RECOVER ( 0x135 , State . IN_GAME ) ) ; addPacket ( new CM_ATREIAN_PASSPORT ( 0x1B6 , State . IN_GAME ) ) ; addPacket ( new CM_HOTSPOT_TELEPORT ( 0x1B2 , State . IN_GAME ) ) ; addPacket ( new CM_ITEM_PURIFICATION ( 0x1B1 , State . IN_GAME ) ) ; addPacket ( new CM_UPGRADE_ARCADE ( 0x1B0 , State . IN_GAME ) ) ; addPacket ( new CM_FILE_VERIFY ( 0x2F8 , State . IN_GAME ) ) ; addPacket ( new CM_EXPAND_CUBE ( 0x1B5 , State . IN_GAME ) ) ; addPacket ( new CM_GM_COMMAND_SEND ( 0xE4 , State . IN_GAME ) ) ; addPacket ( new CM_GM_BOOKMARK ( 0xE7 , State . IN_GAME ) ) ; addPacket ( new CM_1A3_UNK ( 0x1A3 , State . IN_GAME ) ) ; addPacket ( new CM_11A_UNK ( 0x11A , State . IN_GAME ) ) ; }

Crea nueva instancia de <tt> aionpackethandlerfactory </ tt>


public void resetHeaders  ( ) { headers . clear ( ) ; }


public DataSizeAction ( String group , String field , int bins ) { this ( group , field , bins , Constants . LINEAR_SCALE ) ; }


public String process  ( Item item ) throws ProcessException  { int count = 0 ; Item ss = item . getItemAs ( Relation . SYLLABLE ) ; Item lastSyllable = LAST_SYLLABLE_PATH . findItem ( item ) ; for ( Item p = ss . getNext ( ) ; p != null ; p = p . getNext ( ) ) { if ( "1" . equals ( p . getFeatures ( ) . getString ( "stress" ) ) ) { count ++ ; } if ( p . equalsShared ( lastSyllable ) ) { break ; } } return Integer . toString ( rail ( count ) ) ; }

Realiza un poco de procesamiento en el artículo dado.


public static void arc  ( double x , double y , double radius , double angle1 , double angle2 ) { if ( radius < 0 ) throw new IllegalArgumentException ( "arc radius must be nonnegative" ) ; while ( angle2 < angle1 ) angle2 += 360 ; double xs = scaleX ( x ) ; double ys = scaleY ( y ) ; double ws = factorX ( 2 * radius ) ; double hs = factorY ( 2 * radius ) ; if ( ws <= 1 && hs <= 1 ) pixel ( x , y ) ; else offscreen . draw ( new Arc2D . Double ( xs - ws / 2 , ys - hs / 2 , ws , hs , angle1 , angle2 - angle1 , Arc2D . OPEN ) ) ; draw ( ) ; }

Dibuja un arco circular del radio especificado, centrado a (<em> x </ em>, <em> y </ em>), de angle1 a angle2 (en grados).


private void addToken  ( String tokenStr ) { Integer tokenInt = ( Integer ) fTokenNames . get ( tokenStr ) ; if ( tokenInt == null ) { tokenInt = new Integer ( fTokenNames . size ( ) ) ; fTokenNames . put ( tokenInt , tokenStr ) ; } addToken ( tokenInt . intValue ( ) ) ; }

Añadir la cadena especificada como un token


public final boolean canSetDate  ( String field ) { Column col = getColumn ( field ) ; return ( col == null ? false : col . canSetDate ( ) ) ; }

Compruebe si el método <código> setDate </ code> puede usarse de forma segura para el campo de datos dado.


private void updateDisplay  ( boolean allowEmptyDisplay ) { if ( ! allowEmptyDisplay && mTypedTimes . isEmpty ( ) ) { int hour = mRadialTimePickerView . getCurrentHour ( ) ; int minute = mRadialTimePickerView . getCurrentMinute ( ) ; updateHeaderHour ( hour , false ) ; updateHeaderMinute ( minute , false ) ; if ( ! mIs24HourView ) { updateAmPmLabelStates ( hour < 12 ? AM : PM ) ; } setCurrentItemShowing ( mRadialTimePickerView . getCurrentItemShowing ( ) , true , true ) ; onValidationChanged ( true ) ; } else { boolean [ ] enteredZeros = { false , false } ; int [ ] values = getEnteredTime ( enteredZeros ) ; String hourFormat = enteredZeros [ 0 ] ? "%02d" : "%2d" ; String minuteFormat = ( enteredZeros [ 1 ] ) ? "%02d" : "%2d" ; String hourStr = ( values [ 0 ] == - 1 ) ? mDoublePlaceholderText : String . format ( hourFormat , values [ 0 ] ) . replace ( ' ' , mPlaceholderText ) ; String minuteStr = ( values [ 1 ] == - 1 ) ? mDoublePlaceholderText : String . format ( minuteFormat , values [ 1 ] ) . replace ( ' ' , mPlaceholderText ) ; mHourView . setText ( hourStr ) ; mHourView . setSelected ( false ) ; mMinuteView . setText ( minuteStr ) ; mMinuteView . setSelected ( false ) ; if ( ! mIs24HourView ) { updateAmPmLabelStates ( values [ 2 ] ) ; } } }

Actualice las horas, los minutos y las pantallas AM / PM con las veces escritas.Si los tiempos escritos están vacíos, muestren una pantalla vacía (llena con el texto del marcador de posición), o actualice los valores de Timepicker.


private ConsolePrintStream ( final LogController logController ) { super ( new ConsoleOutStream ( logController ) ) ; setPrintStream ( this , this ) ; }

Instanciate una consolación de consolación y configura el flujo de impresión a esta instancia.


@ Override public Filter createLogicFilter  ( List < Filter > filterList ) { return null ; }


public static List < Lock > loadBySid  ( long uid , long time , String sid ) { Beans < Lock > bs = Helper . load ( W . create ( "uid" , uid ) . and ( "created" , time , W . OP_GT ) . and ( "sid" , sid ) . sort ( "created" , 1 ) , 0 , Integer . MAX_VALUE , Lock . class ) ; return bs == null ? null : bs . getList ( ) ; }


public boolean isValidInet4Address  ( String inet4Address ) { String [ ] groups = ipv4Validator . match ( inet4Address ) ; if ( groups == null ) { return false ; } for ( int i = 0 ; i <= 3 ; i ++ ) { String ipSegment = groups [ i ] ; if ( ipSegment == null || ipSegment . length ( ) == 0 ) { return false ; } int iIpSegment = 0 ; try { iIpSegment = Integer . parseInt ( ipSegment ) ; } catch ( NumberFormatException e ) { return false ; } if ( iIpSegment > 255 ) { return false ; } if ( ipSegment . length ( ) > 1 && ipSegment . startsWith ( "0" ) ) { return false ; } } return true ; }

Valida una dirección IPv4.Devuelve verdadero si es válido.


public boolean standard_local_names  ( ) { return soot . PhaseOptions . getBoolean ( options , "standard-local-names" ) ; }

Nombre local Estandarización: utiliza el esquema de nombres del Nombre Local Standardizer. Si está habilitado, se aplica el Nombre Local Standardizer cuando Shimple crea nuevos lugareños.Normalmente, Shimple retendrá los nombres locales originales en la medida de lo posible y usará una notación de subrayado para denotar a los subyubres SSA.Esta transformación no afecta de otra manera el comportamiento brillante.


public static void add  ( Matrix a , Matrix b , Matrix result ) { for ( int i = 0 ; i < a . rows ; i ++ ) { for ( int j = 0 ; j < a . cols ; j ++ ) { result . set ( i , j , a . get ( i , j ) + b . get ( i , j ) ) ; } } }

Agrega A y B MATRICES y las tiendas resultan en el resultado de la matriz de resultados = A + B


@ Override protected void onStopLoading  ( ) { cancelLoad ( ) ; }

Maneja una solicitud para detener el cargador.


@ Override public void apply  ( NexusStreamParser np ) throws Exception { }


@ Override public InputSource resolveEntity  ( String publicId , String systemId ) throws SAXException , IOException { return resolveEntity ( null , publicId , null , systemId ) ; }

Delegados a EntityResolver2.Resolveentity (cadena, cadena, cadena, cadena).


public DynamicInvokeExpr newDynamicInvokeExpr  ( SootMethodRef bootstrapMethodRef , List < ? extends Value > bootstrapArgs , SootMethodRef methodRef , List < ? extends Value > args ) { return new JDynamicInvokeExpr ( bootstrapMethodRef , bootstrapArgs , methodRef , args ) ; }

Construye un newdynamicinvokeexpr (SOOTMetHodref BootstrapMethodref, lista de bootstrapargs, SOOTMetHodref Methodref, List Args) Grammar Chunk.


public boolean isParam  ( ) { return true ; }

Devuelve <código> Verdadero </ código> para indicar esta parte es un parámetro.


private View findReferenceChildClosestToEnd  ( RecyclerView . State state ) { return mShouldReverseLayout ? findFirstReferenceChild ( state . getItemCount ( ) ) : findLastReferenceChild ( state . getItemCount ( ) ) ; }

Entre los niños que sean adecuados para ser considerados como un niño de anclaje, devuelven el más cercano al final del diseño.<p> Debido a las actualizaciones ambiguas del adaptador o los niños que se eliminan, algunas posiciones de los niños pueden ser inválidas.Este método es un mejor esfuerzo para encontrar una posición dentro de los límites del adaptador si es posible.<p> También prioriza a los niños que están dentro de los límites visibles.


private String formatThrowableSet  ( ThrowableSet set ) { String input = set . toAbbreviatedString ( ) ; int inputLength = input . length ( ) ; StringBuffer result = new StringBuffer ( inputLength + 5 ) ; for ( int i = 0 ; i < inputLength ; i ++ ) { char c = input . charAt ( i ) ; if ( c == '+' || c == '-' ) { result . append ( "\\l" ) ; } result . append ( c ) ; } return result . toString ( ) ; }

Rutina de utilidad Para formatear la lista de nombres en un WEDDIBLEST en una etiqueta para el borde que muestra dónde se manejan los lanzamientos.


public BlockVector toBlockVector  ( ) { return new BlockVector ( x , y , z ) ; }

Consigue el vector de bloque de este vector.


public synchronized void shutdown  ( ) { if ( ! isActive ) { return ; } log . info ( "Shutting down the default async job executor [{}]." , getClass ( ) . getName ( ) ) ; if ( timerJobRunnable != null ) { timerJobRunnable . stop ( ) ; } if ( asyncJobsDueRunnable != null ) { asyncJobsDueRunnable . stop ( ) ; } if ( resetExpiredJobsRunnable != null ) { resetExpiredJobsRunnable . stop ( ) ; } stopResetExpiredJobsThread ( ) ; stopTimerAcquisitionThread ( ) ; stopJobAcquisitionThread ( ) ; stopExecutingAsyncJobs ( ) ; timerJobRunnable = null ; asyncJobsDueRunnable = null ; resetExpiredJobsRunnable = null ; isActive = false ; }


public CommandDirectories ( String sourceDirectoryPathString , String targetDirectoryPathString ) { sourceDirectoryPathString = MoreObjects . firstNonNull ( sourceDirectoryPathString , System . getProperty ( "user.dir" ) ) ; targetDirectoryPathString = MoreObjects . firstNonNull ( targetDirectoryPathString , sourceDirectoryPathString ) ; sourceDirectoryPath = Paths . get ( sourceDirectoryPathString ) . toAbsolutePath ( ) ; targetDirectoryPath = Paths . get ( targetDirectoryPathString ) . toAbsolutePath ( ) ; }

Crea la instancia de las cadenas de ruta de los directorios de origen y objetivo.


@ Override protected void checkVectorDimensions  ( RealVector v ) throws MathIllegalArgumentException  { checkVectorDimensions ( v . getDimension ( ) ) ; }

Compruebe si la instancia y los vectores especificados tienen la misma dimensión.


public boolean isPerformingBlockingOperation  ( ) { return ( ! mServiceHandler . mPendingOperations . isEmpty ( ) ) ; }

TODO - IMPORTANTE: ACTUALIZACIÓN DE LA APLICACIÓN Cuando se mueven más operaciones al servicio


public void success  ( int message ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , message ) ) ; }

Helper for Success Callbacks que solo devuelven el estado .OK por defecto


public boolean isCritical  ( ) { return true ; }

¿Es este un comando crítico que solo se puede ejecutar cuando no se está ejecutando otro comando?


public boolean isAxisMinCustom  ( ) { return mCustomAxisMin ; }

Devuelve VERDADERO si el valor del Axis MinIndex ha sido personalizado (y no se calcula automáticamente)


public static Type < ? > valueOf  ( final String typeDescriptor ) { try { return TypeUtil . parseTypeDescriptor ( typeDescriptor ) ; } catch ( TypeUtil . InvalidTypeDescriptorException e ) { throw new IllegalArgumentException ( typeDescriptor + " is an invalid type descriptor" ) ; } }

Construye un tipo anidado de una cadena descripción de ese tipo;Permite que los nombres de los paquetes se omiten para las clases 'java.lang' y 'java.util'.


public void eigenPCA  ( Matrix data , boolean scale , boolean debug ) { int M = data . getRowDimension ( ) ; int N = data . getColumnDimension ( ) ; double mn ; double sd ; for ( int i = 0 ; i < M ; i ++ ) { mn = MathUtils . mean ( data . getArray ( ) [ i ] ) ; if ( mn == 0.0 ) throw new Error ( "eigenPCA: mean of dimension " + ( i + 1 ) + " is 0.0" ) ; if ( scale ) { sd = MathUtils . standardDeviation ( data . getArray ( ) [ i ] ) ; if ( sd == 0.0 ) throw new Error ( "eigenPCA: variance of dimension " + ( i + 1 ) + " is 0.0" ) ; for ( int j = 0 ; j < N ; j ++ ) data . set ( i , j , ( ( data . get ( i , j ) - mn ) / sd ) ) ; } else { for ( int j = 0 ; j < N ; j ++ ) data . set ( i , j , ( data . get ( i , j ) - mn ) ) ; } } if ( debug ) { System . out . println ( "Data:" ) ; data . print ( data . getRowDimension ( ) , 3 ) ; } covariance = data . times ( data . transpose ( ) ) ; covariance = covariance . times ( 1.0 / ( N - 1 ) ) ; if ( debug ) { System . out . println ( "Covariance" ) ; covariance . print ( covariance . getRowDimension ( ) , 3 ) ; } EigenvalueDecomposition pc = covariance . eig ( ) ; if ( debug ) { System . out . println ( "EigenValues (on the diagonal)" ) ; pc . getD ( ) . print ( pc . getD ( ) . getRowDimension ( ) , 3 ) ; System . out . println ( "EigenVectors" ) ; pc . getV ( ) . print ( pc . getV ( ) . getRowDimension ( ) , 3 ) ; } double values [ ] = new double [ pc . getD ( ) . getRowDimension ( ) ] ; for ( int i = 0 ; i < pc . getD ( ) . getRowDimension ( ) ; i ++ ) values [ i ] = pc . getD ( ) . get ( i , i ) ; int indices [ ] = MathUtils . quickSort ( values ) ; V = new double [ values . length ] ; double d [ ] [ ] = new double [ pc . getV ( ) . getRowDimension ( ) ] [ pc . getV ( ) . getColumnDimension ( ) ] ; for ( int j = 0 ; j < values . length ; j ++ ) { int k = indices [ values . length - 1 - j ] ; V [ j ] = values [ k ] ; for ( int i = 0 ; i < pc . getV ( ) . getRowDimension ( ) ; i ++ ) d [ i ] [ j ] = pc . getV ( ) . get ( i , k ) ; } PC = new Matrix ( d ) ; if ( debug ) { System . out . println ( "PC:" ) ; PC . print ( PC . getRowDimension ( ) , 3 ) ; } Matrix projectedData = PC . transpose ( ) . times ( data ) ; Matrix covProjectedData = projectedData . times ( projectedData . transpose ( ) ) ; varianceProportion = new double [ covProjectedData . getColumnDimension ( ) ] ; double sumPropVar = 0.0 ; for ( int j = 0 ; j < covProjectedData . getColumnDimension ( ) ; j ++ ) { varianceProportion [ j ] = covProjectedData . get ( j , j ) ; sumPropVar += varianceProportion [ j ] ; } for ( int j = 0 ; j < covProjectedData . getColumnDimension ( ) ; j ++ ) varianceProportion [ j ] = varianceProportion [ j ] / sumPropVar ; }

Resolviendo PCA utilizando la descomposición de EigenVector


private void powerPhaseFFT  ( double [ ] re , double [ ] im ) { fft ( re , im , FFT_FORWARD ) ; for ( int i = 0 ; i < re . length ; i ++ ) { double pow = re [ i ] * re [ i ] + im [ i ] * im [ i ] ; im [ i ] = Math . atan2 ( im [ i ] , re [ i ] ) ; re [ i ] = pow ; } }

Calcula un complejo (o real si soy [] == {0, ...}) FFT y convierte los resultados a las coordenadas polares (potencia y fase).Ambas matrices deben ser de la misma longitud, que es una potencia de 2.


public synchronized boolean isRunning  ( ) { return this . running ; }

Devuelva <CÓDIGO> Verdadero </ código> Si este ejecutable se está ejecutando actualmente.


public ReadModifiers ( ReadModifiers modifiers1 , ReadModifiers modifiers2 ) { super ( modifiers1 , modifiers2 ) ; }

Crea un nuevo modificador de los modificadores especificados.


public void preventHandlingCurrentSelectionModification  ( ) { mShouldHandleSelectionModification = false ; }

Evita temporalmente que el controlador maneje eventos de modificación de selección en la selección actual.El manejo se volverá a habilitar cuando se realice una nueva selección a través de un grifo o una prensa prolongada.


public static Value noInvokeRhs  ( Unit unit ) { return noInvoke ( rhs ( unit ) ) ; }


public Builder className  ( String className ) { this . className = className ; return this ; }

Un nombre de clase personalizado para asignar al icono.'Leaflet-Div-icon' por defecto.


public InterruptedStatusThread ( String name ) { super ( name ) ; }

Construye un nuevo objeto <código> interrumpidoStTatushRead </ Code>.


public Matrix solveTranspose  ( Matrix B ) { return transpose ( ) . solve ( B . transpose ( ) ) ; }

Resuelve X * A = B, que también es un '* x' = B '


public void showLoadingView  ( ) { mLoadingView . showLoadingUI ( ) ; }

Vamos a ver el logotipo Mostrar una barra de progreso de giro.


public MarketGetCommentsQuery extended  ( Boolean value ) { return unsafeParam ( "extended" , value ) ; }

"VERDADERO": los comentarios se devolverán como objetos numerados, además de las listas de "perfiles" y los "grupos" se devolverán los objetos


@ Override protected String dateToString  ( DateTimeData date ) { StringBuffer message = new StringBuffer ( 16 ) ; append ( message , date . hour , 2 ) ; message . append ( ':' ) ; append ( message , date . minute , 2 ) ; message . append ( ':' ) ; append ( message , date . second ) ; append ( message , ( char ) date . utc , 0 ) ; return message . toString ( ) ; }

Convierte la representación de objetos de tiempo para cadena


public static void writeStringToFile  ( File file , String data , Charset encoding , boolean append ) throws IOException { OutputStream out = null ; try { out = openOutputStream ( file , append ) ; IOUtils . write ( data , out , encoding ) ; out . close ( ) ; } finally { IOUtils . closeQuietly ( out ) ; } }

Escribe una cadena a un archivo que crea el archivo si no existe.


public ResourceId parseResourceId  ( int resourceId ) { return new ResourceId ( ( resourceId & 0xFF000000 ) >> 24 , ( resourceId & 0x00FF0000 ) >> 16 , resourceId & 0x0000FFFF ) ; }

Analiza un ID de recursos de Android en sus componentes


public void moveViewTo  ( float xIndex , float yValue , AxisDependency axis ) { float valsInView = getDeltaY ( axis ) / mViewPortHandler . getScaleY ( ) ; Runnable job = new MoveViewJob ( mViewPortHandler , xIndex , yValue + valsInView / 2f , getTransformer ( axis ) , this ) ; addViewportJob ( job ) ; }

Esto moverá el lado izquierdo de la ventana corriente al valor X especificado en el eje X, y centre la ventana gráfica al valor Y especificado en el eje y.Esto también actualiza la tabla llamando invalidate ().


public static boolean isExclusiveReadLock  ( int mod ) { return Modifiers . contains ( mod , EXCLUSIVE_READ_LOCK ) ; }

Comprueba si el bit exclusivo_read_lock se estableció para este modificador.


public RemoteResultSetImpl ( Plan plan , RemoteConnectionImpl rconn ) throws RemoteException { s = plan . open ( ) ; schema = plan . schema ( ) ; this . rconn = rconn ; }

Crea un objeto remoteesultegre.El plan especificado se abre, y se guarda la exploración.


public String readString  ( ) throws IOException  { return dis . readUTF ( ) ; }


protected boolean hasAttemptRemaining  ( ) { return mCurrentRetryCount <= mMaxNumRetries ; }

Devuelve VERDADERO si esta política tiene intentos restantes, falso de lo contrario.


@ Override public boolean isSpecified  ( int attrIndex ) { return fAttributes [ attrIndex ] . specified ; }

Devuelve VERDADERO si el atributo se especifica en el documento de instancia.


public OutputStream put  ( String key ) throws FileNotFoundException  { return new xFileOutputStream ( mCache . newFile ( key ) ) ; }


public ResultSet buildResultSet  ( JsonNode json , DruidAggregationQuery < ? > druidQuery , DateTimeZone dateTimeZone ) { ZonedSchema resultSetSchema = new ZonedSchema ( granularity , dateTimeZone ) ; PhysicalTable physicalTable = druidQuery . getDataSource ( ) . getPhysicalTables ( ) . iterator ( ) . next ( ) ; for ( Aggregation aggregation : druidQuery . getAggregations ( ) ) { MetricColumn . addNewMetricColumn ( resultSetSchema , aggregation . getName ( ) ) ; } for ( PostAggregation postAggregation : druidQuery . getPostAggregations ( ) ) { MetricColumn . addNewMetricColumn ( resultSetSchema , postAggregation . getName ( ) ) ; } for ( Dimension dimension : druidQuery . getDimensions ( ) ) { resultSetSchema . addColumn ( new LogicalDimensionColumn ( dimension ) ) ; } return druidResponseParser . parse ( json , resultSetSchema , druidQuery . getQueryType ( ) ) ; }

Construye un conjunto de resultados usando el grano de tiempo de solicitud API.


public void clear  ( ) { oredCriteria . clear ( ) ; orderByClause = null ; distinct = false ; }

Este método fue generado por MyBatis Generator.Este método corresponde a la tabla de la base de datos Public.ip_logs


public Transform lerped  ( Transform end , double alpha ) { double a1 = 1.0 - alpha ; double x = a1 * this . x + alpha * end . x ; double y = a1 * this . y + alpha * end . y ; double rs = this . getRotation ( ) ; double re = end . getRotation ( ) ; double diff = re - rs ; if ( diff < - Math . PI ) diff += Geometry . TWO_PI ; if ( diff > Math . PI ) diff -= Geometry . TWO_PI ; double a = diff * alpha + rs ; Transform tx = new Transform ( ) ; tx . rotate ( a ) ; tx . translate ( x , y ) ; return tx ; }

Interpole linealmente por alfa hacia la transformada final dada que devuelve una nueva transformación que contiene el resultado.<P /> Interpolación de un ángulo a otro puede tener dos resultados dependiendo de la dirección de la rotación.Si una rotación fue de 30 a 200, la rotación podría ser 170 o -190.Este método de interpolación siempre elegirá la rotación más pequeña (independientemente del signo) como la dirección de rotación.


public SVNSynchronizeParticipant ( ) { super ( ) ; }

Ningún constructor arg utilizado para la creación de participantes persistentes después de la puesta en marcha


public void write  ( short u0 , short u1 , short u2 , short u3 , short u4 ) { write ( u0 ) ; write ( u1 ) ; write ( u2 ) ; write ( u3 ) ; write ( u4 ) ; }


public static VersionNumber parseLastVersionNumber  ( @ Nonnull final String text ) { Check . notNull ( text , "text" ) ; final Matcher matcher = VERSIONNUMBER_WITH_SUFFIX . matcher ( text ) ; String [ ] split = null ; String ext = null ; while ( matcher . find ( ) ) { split = matcher . group ( MAJOR_INDEX ) . split ( "\\." ) ; ext = matcher . group ( EXTENSION_INDEX ) ; } final String extension = ext == null ? VersionNumber . EMPTY_EXTENSION : trimRight ( ext ) ; return split == null ? VersionNumber . UNKNOWN : new VersionNumber ( Arrays . asList ( split ) , extension ) ; }

Interpreta una cadena con información de la versión.El último número de versión en la cadena será buscado y procesado.


private Object readResolve  ( ) { return LazyHolder . INSTANCE ; }

Manejar la deserialización del singleton.


@ Override public void startExecuting  ( ) { this . theEntityCreature . getNavigator ( ) . tryMoveToXYZ ( this . randPosX , this . randPosY , this . randPosZ , this . speed ) ; }

Ejecutar una tarea de un disparo o comenzar a ejecutar una tarea continua


@ deprecated protected void zeroPaddingNumber  ( NumberFormat nf , StringBuffer buf , int value , int minDigits , int maxDigits ) { if ( ( this . useLocalZeroPaddingNumberFormat ) && ( value >= 0 ) ) { fastZeroPaddingNumber ( buf , value , minDigits , maxDigits ) ; } else { nf . setMinimumIntegerDigits ( minDigits ) ; nf . setMaximumIntegerDigits ( maxDigits ) ; nf . format ( value , buf , new FieldPosition ( - 1 ) ) ; } }


public static void insertIntoCombo  ( JComboBox combo , Object item ) { MutableComboBoxModel model = ( MutableComboBoxModel ) combo . getModel ( ) ; if ( model . getSize ( ) == 0 ) { model . insertElementAt ( item , 0 ) ; return ; } Object o = model . getElementAt ( 0 ) ; if ( o . equals ( item ) ) { return ; } model . removeElement ( item ) ; model . insertElementAt ( item , 0 ) ; combo . setSelectedIndex ( 0 ) ; }

Inserte el elemento dado en el cuadro combinado y configúrelo como el primer elemento seleccionado.Si el artículo ya existe, se elimina, por lo que no hay duplicados.


public static SM_SYSTEM_MESSAGE STR_SKILL_SUCC_BoostSkillCastingTime_A_TO_SELF  ( String skillcaster , String skillname ) { return new SM_SYSTEM_MESSAGE ( 1200791 , skillcaster , skillname ) ; }

[% Skillcaster] La velocidad de fundición ha cambiado porque usó [% de habilidad].


@ Override public void updateSymbol  ( TextSymbolizer textSymbolizer ) { Map < String , String > options = textSymbolizer . getOptions ( ) ; for ( FieldIdEnum key : fieldMap . keySet ( ) ) { internalUpdateSymbol ( options , key , fieldMap . get ( key ) ) ; } }


public FieldConfigFont ( FieldConfigCommonData commonData ) { super ( commonData ) ; }

Instantánea una nueva cadena de configuración de campo.


VUserManagerService ( Context context , VPackageManagerService pm , Object installLock , Object packagesLock )  { this ( context , pm , installLock , packagesLock , VEnvironment . getDataDirectory ( ) , new File ( VEnvironment . getDataDirectory ( ) , "user" ) ) ; }

Llamado por el administrador de paquetes para crear el servicio.Esto está estrechamente asociado con el Administrador de paquetes, y el bloqueo dado es el propio bloqueo del administrador de paquetes.


public void smoothOpenLeftMenu  ( int position , int duration ) { smoothOpenMenu ( position , LEFT_DIRECTION , duration ) ; }


float readBoost  ( Element el ) { NodeList list = el . getElementsByTagName ( "boost" ) ; if ( list == null || list . getLength ( ) == 0 ) return DomainSuffix . DEFAULT_BOOST ; return Float . parseFloat ( list . item ( 0 ) . getFirstChild ( ) . getNodeValue ( ) ) ; }


private Split pow  ( final long e ) { Split result = new Split ( 1 ) ; Split d2p = new Split ( full , high , low ) ; for ( long p = e ; p != 0 ; p >>>= 1 ) { if ( ( p & 0x1 ) != 0 ) { result = result . multiply ( d2p ) ; } d2p = d2p . multiply ( d2p ) ; } if ( Double . isNaN ( result . full ) ) { if ( Double . isNaN ( full ) ) { return Split . NAN ; } else { if ( FastMath . abs ( full ) < 1 ) { return new Split ( FastMath . copySign ( 0.0 , full ) , 0.0 ) ; } else if ( full < 0 && ( e & 0x1 ) == 1 ) { return Split . NEGATIVE_INFINITY ; } else { return Split . POSITIVE_INFINITY ; } } } else { return result ; } }


public void init$Children  ( ) { children = new ASTNode [ 3 ] ; setChild ( new Opt ( ) , 1 ) ; setChild ( new List ( ) , 2 ) ; }

Inicializa la matriz de niños al tamaño correcto.Inicializa la lista y opta a los niños NTA.


public synchronized void panAbs  ( double dx , double dy ) { damageReport ( ) ; m_transform . translate ( dx , dy ) ; try { m_itransform = m_transform . createInverse ( ) ; } catch ( Exception e ) { } }

Pans la vista proporcionada por esta pantalla en coordenadas Absolute (I.E. Item-Space).


public boolean isExistingCommand  ( ) { return ( ! name . equals ( CommandTagHandle . CMD_UNKNOWN ) ) ; }

Compruebe si el objeto actual de CommandTagHandle representa un comando que exista en el servidor.Si no, el cliente no podrá ejecutar el comando.Preferiblemente, los clientes deben verificar la ISEXISTINGCOMMAND () antes de que llamen al método SetValue ().Si el comando no existe, SetValue () lanzará una concepción de CommandTagvalueEx.


public double calcAngleWithRatios  ( Entry p1 , Entry p2 ) { float dx = p2 . getXIndex ( ) * mDeltaRatio - p1 . getXIndex ( ) * mDeltaRatio ; float dy = p2 . getVal ( ) * mScaleRatio - p1 . getVal ( ) * mScaleRatio ; return Math . atan2 ( dy , dx ) * 180.0 / Math . PI ; }

Calcula el ángulo entre dos entradas (puntos) en el gráfico que toma en consideración


public boolean isLowerLimitEnabled  ( ) { return this . lowerLimitEnabled ; }

Devuelve VERDADERO si el límite inferior está habilitado.


public MessagesSendQuery userIds  ( List < Integer > value ) { return unsafeParam ( "user_ids" , value ) ; }

ID de destinatarios de mensajes (si se iniciará nueva conversación).


public Insn ( int opc , Label target ) throws jasError { this . opc = opc ; switch ( opc ) { case opc_jsr : case opc_goto : case opc_if_acmpne : case opc_if_acmpeq : case opc_if_icmpge : case opc_if_icmple : case opc_if_icmpgt : case opc_if_icmplt : case opc_if_icmpne : case opc_if_icmpeq : case opc_ifge : case opc_ifgt : case opc_ifne : case opc_ifle : case opc_iflt : case opc_ifeq : case opc_ifnull : case opc_ifnonnull : operand = new LabelOperand ( target , this ) ; break ; case opc_goto_w : case opc_jsr_w : operand = new LabelOperand ( target , this , true ) ; break ; default : throw new jasError ( opcNames [ opc ] + " does not take a label as its argument" ) ; } }

Instrucciones que toman una etiqueta como argumento.


public static void finishActivityOnPhone  ( Context context ) { if ( context instanceof EnhancedBookmarkActivity ) { ( ( Activity ) context ) . finish ( ) ; } }

Cierra la actividad realizada en el teléfono.No hace nada en la tableta.


protected AppsSendRequestQuery userId  ( int value ) { return unsafeParam ( "user_id" , value ) ; }

ID del usuario para enviar una solicitud.


public DocsDeleteQuery ( VkApiClient client , UserActor actor , int ownerId , int docId ) { super ( client , "docs.delete" , OkResponse . class ) ; accessToken ( actor . getAccessToken ( ) ) ; ownerId ( ownerId ) ; docId ( docId ) ; }

Crea una instancia abstractQueryBuilder que se puede usar para construir una solicitud API con varios parámetros


public void deleteComponent  ( String componentName ) { getComponent ( componentName ) . delete ( ) ; }

Elimina el primer componente encontrado con el nombre dado.


public StorageGetQuery keys  ( List < String > value ) { return unsafeParam ( "keys" , value ) ; }


public static SM_SYSTEM_MESSAGE STR_QUEST_ACQUIRE_ERROR_FINISHED_QUEST  ( String value0 ) { return new SM_SYSTEM_MESSAGE ( 1300596 , value0 ) ; }

Solo puedes recibir esta búsqueda cuando haya completado la búsqueda% 0.


@ Override public void apply  ( NexusStreamParser np ) throws Exception { np . matchIgnoreCase ( "set keep1=" ) ; boolean value = np . getBoolean ( ) ; np . matchIgnoreCase ( ";" ) ; CompareWindow viewer = ( CompareWindow ) getParent ( ) ; viewer . setKeep1 ( value ) ; }


private float computeCorrelationCoefficent  ( String classNameX , String classNameY ) { final ArrayList < Double > xValues = new ArrayList < > ( getChartData ( ) . getSeriesNames ( ) . size ( ) ) ; final ArrayList < Double > yValues = new ArrayList < > ( getChartData ( ) . getSeriesNames ( ) . size ( ) ) ; for ( String sample : getChartData ( ) . getSeriesNames ( ) ) { xValues . add ( getChartData ( ) . getValueAsDouble ( sample , classNameX ) ) ; yValues . add ( getChartData ( ) . getValueAsDouble ( sample , classNameY ) ) ; } return ( float ) Correlation . computePersonsCorrelationCoefficent ( xValues . size ( ) , xValues , yValues ) ; }

devolver el coeficiente de correlación de Pearson


@ PUT @ Path ( "{experimentID}" ) @ Consumes ( APPLICATION_JSON ) @ Produces ( APPLICATION_JSON ) @ ApiOperation ( value = "Update an experiment" , notes = "Can update an experiment that is in DRAFT state to change the experiment state, or " + "to change sampling percentage or to enable personalization and more." , response = Experiment . class ) @ Timed public Response putExperiment  ( @ PathParam ( "experimentID" ) @ ApiParam ( value = "Experiment ID" ) final Experiment . ID experimentID , @ ApiParam ( value = "Please read the implementation notes above" , required = true ) final Experiment experimentEntity , @ QueryParam ( "createNewApplication" ) @ DefaultValue ( "false" ) final boolean createNewApplication , @ HeaderParam ( AUTHORIZATION ) @ ApiParam ( value = EXAMPLE_AUTHORIZATION_HEADER , required = true ) final String authorizationHeader ) { Username userName = authorization . getUser ( authorizationHeader ) ; Experiment experiment = experiments . getExperiment ( experimentID ) ; if ( experiment == null ) { throw new ExperimentNotFoundException ( experimentID ) ; } if ( ! createNewApplication ) { authorization . checkUserPermissions ( userName , experiment . getApplicationName ( ) , UPDATE ) ; } experiment = experiments . updateExperiment ( experimentID , experimentEntity , authorization . getUserInfo ( userName ) ) ; assert experiment != null : "Error updating experiment" ; if ( ( createNewApplication ) && ! experiment . getState ( ) . equals ( DELETED ) ) { UserRole userRole = newInstance ( experiment . getApplicationName ( ) , ADMIN ) . withUserID ( userName ) . build ( ) ; authorization . setUserRole ( userRole , null ) ; } return experiment . getState ( ) . equals ( DELETED ) ? httpHeader . headers ( NO_CONTENT ) . build ( ) : httpHeader . headers ( ) . entity ( experiment ) . build ( ) ; }

Modifica los metadatos del experimento especificado, actualizando los valores especificados en el cuerpo JSON de la solicitud.


public H263Stream ( ) throws IOException  { this ( CameraInfo . CAMERA_FACING_BACK ) ; }

Construye la corriente H.263.Utiliza camera_facing_back de forma predeterminada.


public void testConfigurationUpdate  ( ) { myFixture . copyFileToProject ( "themeEditor/attributeResolution/styles-v17.xml" , "res/values-v17/styles.xml" ) ; myFixture . copyFileToProject ( "themeEditor/attributeResolution/styles-v19.xml" , "res/values-v19/styles.xml" ) ; VirtualFile file = myFixture . copyFileToProject ( "themeEditor/attributeResolution/styles-v20.xml" , "res/values-v20/styles.xml" ) ; ConfigurationManager configurationManager = myFacet . getConfigurationManager ( ) ; Configuration configuration = configurationManager . getConfiguration ( file ) ; ThemeEditorContext context = new ThemeEditorContext ( configuration ) ; ThemeResolver resolver = context . getThemeResolver ( ) ; assertNotNull ( resolver . getTheme ( "V20OnlyTheme" ) ) ; assertNotNull ( resolver . getTheme ( "V19OnlyTheme" ) ) ; assertNotNull ( resolver . getTheme ( "V17OnlyTheme" ) ) ; configuration . setTarget ( new CompatibilityRenderTarget ( configurationManager . getHighestApiTarget ( ) , 17 , configurationManager . getHighestApiTarget ( ) ) ) ; resolver = context . getThemeResolver ( ) ; assertNull ( resolver . getTheme ( "V20OnlyTheme" ) ) ; assertNull ( resolver . getTheme ( "V19OnlyTheme" ) ) ; assertNotNull ( resolver . getTheme ( "V17OnlyTheme" ) ) ; }

Compruebe que, después de una actualización de configuración, el Resolver actualiza la lista de temas


protected Object internalGet  ( Object key , Transaction txn , long waitForResponse , int readModifiers , boolean isRemove ) { try { final SpaceMapEntry template = MapEntryFactory . create ( key ) ; final boolean ifExists = txn != null ; SpaceMapEntry envelopeObj ; if ( isRemove ) envelopeObj = ( SpaceMapEntry ) _spaceProxy . take ( template , txn , waitForResponse , ReadModifiers . MATCH_BY_ID , ifExists ) ; else envelopeObj = ( SpaceMapEntry ) _spaceProxy . read ( template , txn , waitForResponse , readModifiers | ReadModifiers . MATCH_BY_ID , ifExists ) ; if ( envelopeObj == null ) { if ( txn == null ) return null ; throw new CacheTimeoutException ( key ) ; } Object envValue = envelopeObj . getValue ( ) ; envValue = SerializationUtil . deSerializeFieldValue ( envValue , _compression ) ; if ( _isVersioned ) _entryInfos . setEntryVersion ( envValue , key , envelopeObj . getVersion ( ) ) ; return envValue ; } catch ( EntryNotInSpaceException ex ) { return null ; } catch ( CacheException e ) { throw e ; } catch ( Exception e ) { throw new SpaceCacheException ( "Failed to get value from space cache" , e ) ; } }

Obtiene o elimina el mapeo de esta tecla de este mapa si está presente (operación opcional).El cliente esperará a lo sumo <código> WAITFORORPONSE </ CODE> Millisegundos para obtener una llamada para regresar.


@ Override @ TargetApi ( 21 ) public void onReceivedClientCertRequest  ( WebView view , ClientCertRequest request ) { PluginManager pluginManager = this . parentEngine . pluginManager ; if ( pluginManager != null && pluginManager . onReceivedClientCertRequest ( null , new CordovaClientCertRequest ( request ) ) ) { parentEngine . client . clearLoadTimeoutTimer ( ) ; return ; } super . onReceivedClientCertRequest ( view , request ) ; }

En la solicitud de certificado de cliente recibido.El método reenvía la solicitud a cualquier complemento en ejecución antes de usar la implementación predeterminada.


public static int red  ( int color ) { return ( color >> 16 ) & 0xFF ; }

Obtenga el componente rojo del color dado.


Crea los valores de entrada de prueba de prueba de distribución de probabilidad acumulada predeterminada


public boolean hasNavigtionBar  ( ) { return mHasNavigationBar ; }

¿Este dispositivo tiene una barra de navegación del sistema?


public static FunktionConfig findFromFolder  ( File folder ) throws IOException { if ( folder . isDirectory ( ) ) { File file = new File ( folder , FILE_NAME ) ; if ( file != null && file . exists ( ) && file . isFile ( ) ) { return loadFromFile ( file ) ; } File parentFile = folder . getParentFile ( ) ; if ( parentFile != null ) { return findFromFolder ( parentFile ) ; } FunktionConfig answer = tryFindConfigOnClassPath ( ) ; if ( answer != null ) { return answer ; } throw new IOException ( "Funktion configuration file does not exist: " + file . getPath ( ) ) ; } else if ( folder . isFile ( ) ) { return loadFromFile ( folder ) ; } FunktionConfig answer = tryFindConfigOnClassPath ( ) ; if ( answer != null ) { return answer ; } throw new IOException ( "Funktion configuration folder does not exist: " + folder . getPath ( ) ) ; }

Intenta encontrar la configuración del directorio actual o una carpeta principal.


public DefaultScrollableDataIterator ( String entityName , SessionFactory sessionFactory , int fetchSize , boolean performOrderById ) { super ( entityName , sessionFactory , fetchSize , performOrderById ) ; }

Construye un iterador desplazable sobre el nombre de la entidad dada.


public void parseBuffer  ( ByteInputBuffer buffer ) { int query_len = buffer . readIntLittleEndian ( ) ; queryName = buffer . readBytesNullTerminated ( ) ; int flags = buffer . readCharBigEndian ( ) ; boolean hasN = ( ( flags & 1 ) == 1 ) ; switch ( daaParser . getHeader ( ) . getAlignMode ( ) ) { case blastp : { byte [ ] packed = PackedSequence . readPackedSequence ( buffer , query_len , 5 ) ; sourceSequence = context [ 0 ] = PackedSequence . getUnpackedSequence ( packed , query_len , 5 ) ; break ; } case blastx : { byte [ ] packed = PackedSequence . readPackedSequence ( buffer , query_len , hasN ? 3 : 2 ) ; sourceSequence = PackedSequence . getUnpackedSequence ( packed , query_len , hasN ? 3 : 2 ) ; byte [ ] [ ] sixFrameTranslation = Translator . getSixFrameTranslations ( sourceSequence ) ; System . arraycopy ( sixFrameTranslation , 0 , context , 0 , sixFrameTranslation . length ) ; break ; } case blastn : { byte [ ] packed = PackedSequence . readPackedSequence ( buffer , query_len , hasN ? 3 : 2 ) ; sourceSequence = PackedSequence . getUnpackedSequence ( packed , query_len , hasN ? 3 : 2 ) ; context [ 0 ] = sourceSequence ; context [ 1 ] = Translator . getReverseComplement ( sourceSequence ) ; break ; } default : } }


public static void isNotInstanceOf  ( String argumentName , Object argumentObject , Class < ? > targetClass ) { notNull ( argumentName , argumentObject ) ; if ( targetClass . isInstance ( argumentObject ) ) { throw new IllegalArgumentException ( argumentName + " cannot be an instance of " + targetClass . getName ( ) ) ; } }

Pruebas Si un argumento no es nulo y no es una instancia de una clase específica.<p> <code> afirmando.isnotinstanceof ("foo", foo, foo.class); </ code> </ p>


public static synchronized void authReconnectingAccount  ( int accountId , int loginOk , int reconnectKey , LoginConnection client ) { ReconnectingAccount reconnectingAccount = reconnectingAccounts . remove ( accountId ) ; if ( reconnectingAccount != null && reconnectingAccount . getReconnectionKey ( ) == reconnectKey ) { Account acc = reconnectingAccount . getAccount ( ) ; client . setAccount ( acc ) ; accountsOnLS . put ( acc . getId ( ) , client ) ; client . setState ( State . AUTHED_LOGIN ) ; client . setSessionKey ( new SessionKey ( client . getAccount ( ) ) ) ; client . sendPacket ( new SM_UPDATE_SESSION ( client . getSessionKey ( ) ) ) ; } else { client . closeNow ( ) ; } }

Compruebe si la cuenta de reconexión puede autorizar.


public E valueAt  ( int index ) { if ( mGarbage ) { gc ( ) ; } return ( E ) mValues [ index ] ; }

Dado un índice en el rango <código> 0 ... tamaño () - 1 </ codigo>, devuelve el valor del índice <código> Índice </ código> TH Mapeo de valor clave que esta SparseArray almacena.


public static int extractLowSignedNibble  ( int value ) { return ( value << 28 ) >> 28 ; }

Extrae el mordisco de 4 bits de bajo firma del byte menos significativo del valor dado


public V remove  ( R rowKey , C columnKey ) { if ( rowKey == null || columnKey == null ) return null ; Map < C , V > row = row ( rowKey ) ; if ( row == null ) return null ; V oldValue = get ( rowKey , columnKey ) ; row . remove ( columnKey ) ; return oldValue ; }

Elimina la celda dada, devuelve el valor antiguo o nulo.


public XMLTokener ( String s ) { super ( s ) ; }


public static String sanitizeAppIdentifier  ( String appIdentifier ) throws IllegalArgumentException  { if ( appIdentifier == null ) { throw new IllegalArgumentException ( "App Key must not be null." ) ; } String sAppIdentifier = appIdentifier . trim ( ) ; if ( sAppIdentifier . length ( ) != APP_IDENTIFIER_LENGTH ) { throw new IllegalArgumentException ( "App Key length must be " + APP_IDENTIFIER_LENGTH + " characters." ) ; } return sAppIdentifier ; }

Desinfiga un identificador de la aplicación o arroja una excepción si no puede ser desinfectada.


public void train  ( String sTrainingText ) { sgOverallGraph . setDataString ( sTrainingText + ( new StringBuffer ( ) . append ( ( char ) StreamTokenizer . TT_EOF ) ) . toString ( ) ) ; clLocator . resetCache ( ) ; getDelimiters ( ) ; }

Entrena las estadísticas del chunker de un texto dado.


public BytesMessage createBytesMessage  ( byte [ ] bytesArrayBody ) throws JMSException { ensureOpen ( ) ; GSBytesMessageImpl bytesMsg = new GSBytesMessageImpl ( this , bytesArrayBody ) ; return bytesMsg ; }

Crea un objeto <código> gsbytesmessageimpl </ code>.Un objeto <código> bytesmessage </ code> se usa para enviar un mensaje que contiene un flujo de bytes no interpretados.Este método se usa en MessageConsumer.Recieve () cuando el JMSMessageID ya se conoce.


public void or  ( Criteria criteria ) { oredCriteria . add ( criteria ) ; }

Este método fue generado por MyBatis Generator.Este método corresponde a la tabla de la base de datos Public.Files


void execute  ( final int opcode , final int arg , final ClassWriter cw , final Item item ) { int t1 , t2 , t3 , t4 ; switch ( opcode ) { case Opcodes . NOP : case Opcodes . INEG : case Opcodes . LNEG : case Opcodes . FNEG : case Opcodes . DNEG : case Opcodes . I2B : case Opcodes . I2C : case Opcodes . I2S : case Opcodes . GOTO : case Opcodes . RETURN : break ; case Opcodes . ACONST_NULL : push ( NULL ) ; break ; case Opcodes . ICONST_M1 : case Opcodes . ICONST_0 : case Opcodes . ICONST_1 : case Opcodes . ICONST_2 : case Opcodes . ICONST_3 : case Opcodes . ICONST_4 : case Opcodes . ICONST_5 : case Opcodes . BIPUSH : case Opcodes . SIPUSH : case Opcodes . ILOAD : push ( INTEGER ) ; break ; case Opcodes . LCONST_0 : case Opcodes . LCONST_1 : case Opcodes . LLOAD : push ( LONG ) ; push ( TOP ) ; break ; case Opcodes . FCONST_0 : case Opcodes . FCONST_1 : case Opcodes . FCONST_2 : case Opcodes . FLOAD : push ( FLOAT ) ; break ; case Opcodes . DCONST_0 : case Opcodes . DCONST_1 : case Opcodes . DLOAD : push ( DOUBLE ) ; push ( TOP ) ; break ; case Opcodes . LDC : switch ( item . type ) { case ClassWriter . INT : push ( INTEGER ) ; break ; case ClassWriter . LONG : push ( LONG ) ; push ( TOP ) ; break ; case ClassWriter . FLOAT : push ( FLOAT ) ; break ; case ClassWriter . DOUBLE : push ( DOUBLE ) ; push ( TOP ) ; break ; case ClassWriter . CLASS : push ( OBJECT | cw . addType ( "java/lang/Class" ) ) ; break ; default : push ( OBJECT | cw . addType ( "java/lang/String" ) ) ; } break ; case Opcodes . ALOAD : push ( get ( arg ) ) ; break ; case Opcodes . IALOAD : case Opcodes . BALOAD : case Opcodes . CALOAD : case Opcodes . SALOAD : pop ( 2 ) ; push ( INTEGER ) ; break ; case Opcodes . LALOAD : case Opcodes . D2L : pop ( 2 ) ; push ( LONG ) ; push ( TOP ) ; break ; case Opcodes . FALOAD : pop ( 2 ) ; push ( FLOAT ) ; break ; case Opcodes . DALOAD : case Opcodes . L2D : pop ( 2 ) ; push ( DOUBLE ) ; push ( TOP ) ; break ; case Opcodes . AALOAD : pop ( 1 ) ; t1 = pop ( ) ; push ( ELEMENT_OF + t1 ) ; break ; case Opcodes . ISTORE : case Opcodes . FSTORE : case Opcodes . ASTORE : t1 = pop ( ) ; set ( arg , t1 ) ; if ( arg > 0 ) { t2 = get ( arg - 1 ) ; if ( t2 == LONG || t2 == DOUBLE ) { set ( arg - 1 , TOP ) ; } } break ; case Opcodes . LSTORE : case Opcodes . DSTORE : pop ( 1 ) ; t1 = pop ( ) ; set ( arg , t1 ) ; set ( arg + 1 , TOP ) ; if ( arg > 0 ) { t2 = get ( arg - 1 ) ; if ( t2 == LONG || t2 == DOUBLE ) { set ( arg - 1 , TOP ) ; } } break ; case Opcodes . IASTORE : case Opcodes . BASTORE : case Opcodes . CASTORE : case Opcodes . SASTORE : case Opcodes . FASTORE : case Opcodes . AASTORE : pop ( 3 ) ; break ; case Opcodes . LASTORE : case Opcodes . DASTORE : pop ( 4 ) ; break ; case Opcodes . POP : case Opcodes . IFEQ : case Opcodes . IFNE : case Opcodes . IFLT : case Opcodes . IFGE : case Opcodes . IFGT : case Opcodes . IFLE : case Opcodes . IRETURN : case Opcodes . FRETURN : case Opcodes . ARETURN : case Opcodes . TABLESWITCH : case Opcodes . LOOKUPSWITCH : case Opcodes . ATHROW : case Opcodes . MONITORENTER : case Opcodes . MONITOREXIT : case Opcodes . IFNULL : case Opcodes . IFNONNULL : pop ( 1 ) ; break ; case Opcodes . POP2 : case Opcodes . IF_ICMPEQ : case Opcodes . IF_ICMPNE : case Opcodes . IF_ICMPLT : case Opcodes . IF_ICMPGE : case Opcodes . IF_ICMPGT : case Opcodes . IF_ICMPLE : case Opcodes . IF_ACMPEQ : case Opcodes . IF_ACMPNE : case Opcodes . LRETURN : case Opcodes . DRETURN : pop ( 2 ) ; break ; case Opcodes . DUP : t1 = pop ( ) ; push ( t1 ) ; push ( t1 ) ; break ; case Opcodes . DUP_X1 : t1 = pop ( ) ; t2 = pop ( ) ; push ( t1 ) ; push ( t2 ) ; push ( t1 ) ; break ; case Opcodes . DUP_X2 : t1 = pop ( ) ; t2 = pop ( ) ; t3 = pop ( ) ; push ( t1 ) ; push ( t3 ) ; push ( t2 ) ; push ( t1 ) ; break ; case Opcodes . DUP2 : t1 = pop ( ) ; t2 = pop ( ) ; push ( t2 ) ; push ( t1 ) ; push ( t2 ) ; push ( t1 ) ; break ; case Opcodes . DUP2_X1 : t1 = pop ( ) ; t2 = pop ( ) ; t3 = pop ( ) ; push ( t2 ) ; push ( t1 ) ; push ( t3 ) ; push ( t2 ) ; push ( t1 ) ; break ; case Opcodes . DUP2_X2 : t1 = pop ( ) ; t2 = pop ( ) ; t3 = pop ( ) ; t4 = pop ( ) ; push ( t2 ) ; push ( t1 ) ; push ( t4 ) ; push ( t3 ) ; push ( t2 ) ; push ( t1 ) ; break ; case Opcodes . SWAP : t1 = pop ( ) ; t2 = pop ( ) ; push ( t1 ) ; push ( t2 ) ; break ; case Opcodes . IADD : case Opcodes . ISUB : case Opcodes . IMUL : case Opcodes . IDIV : case Opcodes . IREM : case Opcodes . IAND : case Opcodes . IOR : case Opcodes . IXOR : case Opcodes . ISHL : case Opcodes . ISHR : case Opcodes . IUSHR : case Opcodes . L2I : case Opcodes . D2I : case Opcodes . FCMPL : case Opcodes . FCMPG : pop ( 2 ) ; push ( INTEGER ) ; break ; case Opcodes . LADD : case Opcodes . LSUB : case Opcodes . LMUL : case Opcodes . LDIV : case Opcodes . LREM : case Opcodes . LAND : case Opcodes . LOR : case Opcodes . LXOR : pop ( 4 ) ; push ( LONG ) ; push ( TOP ) ; break ; case Opcodes . FADD : case Opcodes . FSUB : case Opcodes . FMUL : case Opcodes . FDIV : case Opcodes . FREM : case Opcodes . L2F : case Opcodes . D2F : pop ( 2 ) ; push ( FLOAT ) ; break ; case Opcodes . DADD : case Opcodes . DSUB : case Opcodes . DMUL : case Opcodes . DDIV : case Opcodes . DREM : pop ( 4 ) ; push ( DOUBLE ) ; push ( TOP ) ; break ; case Opcodes . LSHL : case Opcodes . LSHR : case Opcodes . LUSHR : pop ( 3 ) ; push ( LONG ) ; push ( TOP ) ; break ; case Opcodes . IINC : set ( arg , INTEGER ) ; break ; case Opcodes . I2L : case Opcodes . F2L : pop ( 1 ) ; push ( LONG ) ; push ( TOP ) ; break ; case Opcodes . I2F : pop ( 1 ) ; push ( FLOAT ) ; break ; case Opcodes . I2D : case Opcodes . F2D : pop ( 1 ) ; push ( DOUBLE ) ; push ( TOP ) ; break ; case Opcodes . F2I : case Opcodes . ARRAYLENGTH : case Opcodes . INSTANCEOF : pop ( 1 ) ; push ( INTEGER ) ; break ; case Opcodes . LCMP : case Opcodes . DCMPL : case Opcodes . DCMPG : pop ( 4 ) ; push ( INTEGER ) ; break ; case Opcodes . JSR : case Opcodes . RET : throw new RuntimeException ( "JSR/RET are not supported with computeFrames option" ) ; case Opcodes . GETSTATIC : push ( cw , item . strVal3 ) ; break ; case Opcodes . PUTSTATIC : pop ( item . strVal3 ) ; break ; case Opcodes . GETFIELD : pop ( 1 ) ; push ( cw , item . strVal3 ) ; break ; case Opcodes . PUTFIELD : pop ( item . strVal3 ) ; pop ( ) ; break ; case Opcodes . INVOKEVIRTUAL : case Opcodes . INVOKESPECIAL : case Opcodes . INVOKESTATIC : case Opcodes . INVOKEINTERFACE : pop ( item . strVal3 ) ; if ( opcode != Opcodes . INVOKESTATIC ) { t1 = pop ( ) ; if ( opcode == Opcodes . INVOKESPECIAL && item . strVal2 . charAt ( 0 ) == '<' ) { init ( t1 ) ; } } push ( cw , item . strVal3 ) ; break ; case Opcodes . NEW : push ( UNINITIALIZED | cw . addUninitializedType ( item . strVal1 , arg ) ) ; break ; case Opcodes . NEWARRAY : pop ( ) ; switch ( arg ) { case Opcodes . T_BOOLEAN : push ( ARRAY_OF | BOOLEAN ) ; break ; case Opcodes . T_CHAR : push ( ARRAY_OF | CHAR ) ; break ; case Opcodes . T_BYTE : push ( ARRAY_OF | BYTE ) ; break ; case Opcodes . T_SHORT : push ( ARRAY_OF | SHORT ) ; break ; case Opcodes . T_INT : push ( ARRAY_OF | INTEGER ) ; break ; case Opcodes . T_FLOAT : push ( ARRAY_OF | FLOAT ) ; break ; case Opcodes . T_DOUBLE : push ( ARRAY_OF | DOUBLE ) ; break ; default : push ( ARRAY_OF | LONG ) ; break ; } break ; case Opcodes . ANEWARRAY : String s = item . strVal1 ; pop ( ) ; if ( s . charAt ( 0 ) == '[' ) { push ( cw , '[' + s ) ; } else { push ( ARRAY_OF | OBJECT | cw . addType ( s ) ) ; } break ; case Opcodes . CHECKCAST : s = item . strVal1 ; pop ( ) ; if ( s . charAt ( 0 ) == '[' ) { push ( cw , s ) ; } else { push ( OBJECT | cw . addType ( s ) ) ; } break ; default : pop ( arg ) ; push ( cw , item . strVal1 ) ; break ; } }

Simula la acción de la instrucción dada en el marco de la pila de salida.


private boolean areClassesEqual  ( Class < ? > c1 , Class < ? > c2 ) { if ( isMap ( c1 ) ) { return isMap ( c2 ) ; } else if ( isList ( c1 ) ) { return isList ( c2 ) ; } else { return c1 . equals ( c2 ) ; } }

Al comparar los literales, permiten que las subclases de mapas y listas se comparen directamente incluso si tienen diferentes implementaciones.


public PagesGetTitlesQuery ( VkApiClient client , UserActor actor ) { super ( client , "pages.getTitles" , Utils . buildParametrizedType ( List . class , Wikipage . class ) ) ; accessToken ( actor . getAccessToken ( ) ) ; }

Crea una instancia abstractQueryBuilder que se puede usar para construir una solicitud API con varios parámetros


@ SuppressWarnings ( { "unchecked" , "cast" } ) public ClassAccess fullCopy  ( ) { ClassAccess tree = ( ClassAccess ) copy ( ) ; if ( children != null ) { for ( int i = 0 ; i < children . length ; ++ i ) { ASTNode child = ( ASTNode ) children [ i ] ; if ( child != null ) { child = child . fullCopy ( ) ; tree . setChild ( child , i ) ; } } } return tree ; }

Cree una copia profunda del subárbol AST en este nodo.La copia está colgando, es decir, no tiene padre.


public static Point createPointFromJson  ( JsonNode json ) { return FACTORY . createPoint ( createCoordinateFromJson ( json ) ) ; }

Cree un Punto geométrico de GEOTOOOLS primitivo de coordenadas en JSON.


private void removeBodyAction  ( ) { TreePath path = this . tree . getSelectionPath ( ) ; if ( path != null ) { DefaultMutableTreeNode node = ( DefaultMutableTreeNode ) path . getLastPathComponent ( ) ; if ( node . getUserObject ( ) instanceof SandboxBody ) { SandboxBody body = ( SandboxBody ) node . getUserObject ( ) ; int choice = JOptionPane . showConfirmDialog ( ControlUtilities . getParentWindow ( this ) , MessageFormat . format ( Messages . getString ( "menu.context.body.remove.warning" ) , body . getName ( ) ) , Messages . getString ( "menu.context.body.remove.warning.title" ) , JOptionPane . YES_NO_CANCEL_OPTION ) ; if ( choice == JOptionPane . YES_OPTION ) { synchronized ( Simulation . LOCK ) { this . simulation . getWorld ( ) . removeBody ( body ) ; } this . model . removeNodeFromParent ( node ) ; this . notifyActionListeners ( "remove-body" , body ) ; } } } }

Muestra un cuadro de diálogo de confirmación que le pregunta al usuario si realmente quieren realizar la acción.<p> Si el usuario hace clic en Sí, entonces se elimina el cuerpo seleccionado.


public NumberRangeModel ( float lo , float hi , float min , float max ) { this ( new Float ( lo ) , new Float ( hi ) , new Float ( min ) , new Float ( max ) ) ; }

Cree un nuevo NumberRangemodel para el rango dado.


private void monitorReplicationStateForModifyingOperation  ( Transaction transaction ) { if ( transaction != null ) return ; monitorReplicationState ( ) ; }


public Bucket ( String label , String experimentId , double allocationPercent , boolean isControl , String description , String payload ) { this ( label , experimentId , allocationPercent , isControl , description , payload , null ) ; }

Crea un cubo con los valores suministrados.


private boolean canInvitePlayer  ( Player activePlayer , Player targetPlayer ) { Legion legion = activePlayer . getLegion ( ) ; if ( activePlayer . getLifeStats ( ) . isAlreadyDead ( ) ) { PacketSendUtility . sendPacket ( activePlayer , SM_SYSTEM_MESSAGE . STR_GUILD_INVITE_CANT_INVITE_WHEN_DEAD ) ; return false ; } if ( isSelf ( activePlayer , targetPlayer . getObjectId ( ) ) ) { PacketSendUtility . sendPacket ( activePlayer , SM_SYSTEM_MESSAGE . STR_GUILD_INVITE_CAN_NOT_INVITE_SELF ) ; return false ; } else if ( targetPlayer . isLegionMember ( ) ) { if ( legion . isMember ( targetPlayer . getObjectId ( ) ) ) { PacketSendUtility . sendPacket ( activePlayer , SM_SYSTEM_MESSAGE . STR_GUILD_INVITE_HE_IS_MY_GUILD_MEMBER ( targetPlayer . getName ( ) ) ) ; } else { PacketSendUtility . sendPacket ( activePlayer , SM_SYSTEM_MESSAGE . STR_GUILD_INVITE_HE_IS_OTHER_GUILD_MEMBER ( targetPlayer . getName ( ) ) ) ; } return false ; } else if ( ! activePlayer . getLegionMember ( ) . hasRights ( LegionPermissionsMask . INVITE ) ) { return false ; } else if ( activePlayer . getRace ( ) != targetPlayer . getRace ( ) && ! LegionConfig . LEGION_INVITEOTHERFACTION ) { return false ; } return true ; }

Este método verifica todas las restricciones para invitar al jugador a la legión.


public static void configurePeriodicSync  ( Context context , Account account ) { final String authority = context . getString ( R . string . data_provider_authority ) ; if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . KITKAT ) { SyncRequest request = new SyncRequest . Builder ( ) . setExtras ( Bundle . EMPTY ) . syncPeriodic ( SYNC_INTERVAL , SYNC_FLEXTIME ) . setSyncAdapter ( account , authority ) . build ( ) ; ContentResolver . requestSync ( request ) ; } else { ContentResolver . addPeriodicSync ( account , authority , Bundle . EMPTY , SYNC_INTERVAL ) ; } Log . v ( LOG_TAG , "Periodic sync configured with " + SYNC_INTERVAL + " interval and " + SYNC_FLEXTIME + " flextime" ) ; }

Método de ayuda para programar la ejecución periódica del adaptador SYNC


protected void endVisitNode  ( ASTNode node ) { }

Visita el nodo AST específico de tipo dado.


public MessagesDeleteDialogQuery userId  ( String value ) { return unsafeParam ( "user_id" , value ) ; }

ID de usuario.Para borrar un historial de chat use "chat_id"