text
stringlengths
7
1.01M
/* * Copyright 2015-2018 _floragunn_ GmbH * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package com.xdroid.rxjava.model; /** * 类描述:GitHub API 中的User * 创建人:launcher.myemail@gmail.com * 创建时间:16-1-24 * 备注:使用:http://www.jsonschema2pojo.org/这个网站就Json自动转换为POJO */ public class User { public String login; public Integer id; public String avatarUrl; public String gravatarId; public Strin...
/* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.github.amlcurran.showcaseview.targets; import android.app.Activity; import android.view.View; import android.view.ViewParent; /** * Created by Alex on 27/10/13. */ class AppCompatReflector implements Reflector { private Activity mActivity; public AppCompatReflector(Activity activity) { ...
package cc.sylar.elasticsearch.proxy.beans.search.request.fuction; import cc.sylar.elasticsearch.proxy.beans.common.ScriptParamsConverter; import com.sun.tools.javac.util.Assert; import java.util.Map; /** * @author sylar * @Description: * @date 2020/5/4 11:08 下午 */ public interface ScriptSetter { /** *...
package com.lei.stu.jvm.abstracttest; import java.lang.ref.WeakReference; import java.util.Collections; import java.util.LinkedList; import java.util.List; /** * @Description * @Author leihaoyuan * @Date 2020/12/11 13:17 */ public abstract class AbstractClassTest { private static final List<WeakReference<Abs...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
package org.semanticweb.elk.owl.managers; /* * #%L * ELK Reasoner * * $Id$ * $HeadURL$ * %% * Copyright (C) 2011 Department of Computer Science, University of Oxford * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
import java.util.Comparator; import java.util.PriorityQueue; public class RunningMedian { private PriorityQueue<Integer> maxHeap; private PriorityQueue<Integer> minHeap; public RunningMedian(int size) { minHeap = new PriorityQueue<>(size / 2, Comparator.naturalOrder()); maxHeap = new Prio...
/* * The MIT License (MIT) * * Copyright (c) 2020-2030 The XdagJ Developers * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rig...
/* * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.pakio.loudsTrie; import java.util.ArrayDeque; import java.util.Map.Entry; import java.util.Queue; public class Converter { /** * convert tree to LOUDS */ public static LOUDS convert(Node rootNode) { LOUDS louds = new LOUDS(); Queue<Node> queue = new ArrayDeque<>(); queue.add(rootNode...
import tio.*; class opgave13_3 { public static void main(String[] args) { int input[] = new int [6]; boolean []generated = new boolean[42]; boolean []inputTable = new boolean[42]; int i, amount = 0, simAmount, n = 0, k; double profit = 0; simAmount = Console.in.readInt(); while(profit <= 0){ //for(k...
package org.bouncycastle.jcajce.provider; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Writer; import java.security.Provider; import java.security.cert.CertPath; import java.security...
package infobip.api.model.omni; /** * This is a generated class and is not intended for modification! */ public class Error { private Integer groupId; private String groupName; private Integer id; private String name; private String description; private Boolean permanent; public Error() ...
package uk.nhs.adaptors.gp2gp.gpc; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.experimental.SuperBuilder; import lombok.extern.jackson.Jacksonized; import org.apache.commons.lang3.StringUtils; import uk.nhs.adaptors.gp2gp.common.task.TaskType; import uk.nhs.adaptors.gp2gp.ehr.DocumentTaskDefin...
package ru.job4j.tracker; import org.junit.Test; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import java.util.StringJoiner; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; public class ShowAllItemsTest { @Test public void whenCheckOutput() {...
package net.somethingdreadful.MAL.dialog; import android.app.Activity; import android.app.AlertDialog; import android.app.DialogFragment; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import net.somethingdreadful.MAL.DetailView; import net.somethingdreadful.MAL.R; im...
package com.kangec.client.view.common; import javafx.scene.Cursor; import javafx.scene.Parent; import javafx.scene.control.ListView; import javafx.scene.layout.Pane; import javafx.stage.Stage; /** * @Author Ardien * @Date 9/22/2020 7:17 PM * @Email ardien@126.com * @Version 1.0 **/ public abstract class UIBindin...
/* file: CpuTypeEnable.java */ /******************************************************************************* * Copyright 2014-2017 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
package com.cloud.gateway; import com.cloud.common.cache.annotation.EnableProCache; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; /** * 网关模块 * @author Aijm * @since 2...
/** * Copyright 2011-2019 Asakusa Framework Team. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
package com.microsoft.bingads.v11.api.test.entities.ad_group_product_partition.write; import com.microsoft.bingads.v11.api.test.entities.ad_group_product_partition.BulkAdGroupProductPartitionTest; import com.microsoft.bingads.v11.bulk.entities.BulkAdGroupProductPartition; import com.microsoft.bingads.v11.campaignm...
package org.checkerframework.framework.type; // The imports from com.sun are all @jdk.Exported and therefore somewhat safe to use. // Try to avoid using non-@jdk.Exported classes. import com.sun.source.tree.AnnotationTree; import com.sun.source.tree.AssignmentTree; import com.sun.source.tree.ClassTree; import com.sun...
package mage.cards.c; import java.util.UUID; import mage.MageInt; import mage.abilities.TriggeredAbilityImpl; import mage.abilities.effects.common.counter.AddCountersSourceEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; import mage.cons...
package org.ff4j.web.api.test.filter; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; import javax.ws.rs.WebApplicationException; import org.ff4j.utils.Util; import org.ff4j.web.ApiConfig; import org.ff4j.web.api.security.FF4jSecurityContextFilter; import ...
package onLoad; import java.sql.*; import java.io.*; public class showAssg1 { String aname,ques,id,info; Date adate,ddate; public showAssg1() { } public showAssg1(String assgName)throws Exception { Class.forName("org.postgresql.Driver"); String assgId; String s=null; int i=0; Connection connection=...
/* * Copyright (c) 2020 GeekXYZ. * All rights reserved. */ package io.geekshop.mapper; import io.geekshop.entity.ProductVariantCollectionJoinEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * Created on Nov, 2020 by @author bobo */ @Mapper public i...
/* * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package com.example.demo.rocketmq.Test; import org.apache.rocketmq.client.producer.DefaultMQProducer; import org.apache.rocketmq.common.message.Message; /** * 消息发送者 * @author 一明哥 * */ public class Producer4 { public static void main(String[] args)throws Exception { DefaultMQProducer producer = new DefaultMQP...
package org.kohsuke.github; /** * Search repositories. * * @see GitHub#searchRepositories() GitHub#searchRepositories() */ public class GHRepositorySearchBuilder extends GHSearchBuilder<GHRepository> { GHRepositorySearchBuilder(GitHub root) { super(root, RepositorySearchResult.class); } /** ...
package dev.lajoscseppento.ruthless.demo.springbootlibrary; import static org.assertj.core.api.Assertions.assertThat; import com.google.common.collect.ImmutableSet; import dev.lajoscseppento.ruthless.demo.javalibrary.Item; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowire...
/* * Copyright (C) 2021 即时通讯网(52im.net) & Jack Jiang. * The MobileIMSDK4j_udp (MobileIMSDK4j v6.x UDP版) Project. * All rights reserved. * * > Github地址:https://github.com/JackJiang2011/MobileIMSDK * > 文档地址: http://www.52im.net/forum-89-1.html * > 技术社区: http://www.52im.net/ * > 技术交流群:320837163 (http:...
/* * This file was automatically generated by EvoSuite * Sun Nov 08 05:49:25 GMT 2020 */ package org.databene.jdbacl; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.shaded.org.mockito.Mockito.*; import static org.evosuite.runtime.EvoAssertions.*; import java.io.FileNotFoundExce...
/* * Copyright 2010-2011, Sikuli.org * Released under the MIT License. * */ package org.sikuli.script; import java.util.*; import java.io.*; import java.awt.*; import java.awt.event.*; import java.awt.image.*; import javax.imageio.ImageIO; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.J...
package com.nmmoc7.polymercore.common.multiblock.unit; import net.minecraft.block.BlockState; import net.minecraft.fluid.FluidState; import java.util.Collections; public class UnitFluidState extends AbstractUnit { private final FluidState fluidState; public UnitFluidState(FluidState fluid) { super(C...
package br.com.cams7.siscom.jpa.domain.entity; import java.util.Date; import java.util.List; import javax.persistence.AttributeOverride; import javax.persistence.AttributeOverrides; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence....
/* * Copyright 2016-2021 Cisco Systems Inc * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, ...
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
package org.ddx.algorithms.graph; import org.ddx.algorithms.graph.model.Graph; import org.ddx.algorithms.graph.model.Node; import org.ddx.algorithms.graph.model.Path; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.List; /** * Utility to print human-friendly debugging logs of graphs, nod...
package intensiveteamhslee.config.kafka; import org.springframework.cloud.stream.annotation.Input; import org.springframework.cloud.stream.annotation.Output; import org.springframework.messaging.MessageChannel; import org.springframework.messaging.SubscribableChannel; public interface KafkaProcessor { String INP...
package com.coolweather.android; import android.content.Intent; import android.content.SharedPreferences; import android.graphics.Color; import android.os.Build; import android.preference.PreferenceManager; import android.support.v4.view.GravityCompat; import android.support.v4.widget.DrawerLayout; import android.supp...
package DataStructures.Trees;// Java program to print top view of Binary tree import java.util.HashSet; import java.util.LinkedList; import java.util.Queue; // 트리 노드 클래스 class TreeNode { // 멤버 변수들 int key; TreeNode left, right; // 생성자 public TreeNode(int key) { this.key = key; lef...
package controllers; import play.mvc.*; import views.html.*; public class HomeController extends Controller { public Result index() { return ok(index.render()); } }
package com.github.housepower.jdbc; import com.github.housepower.jdbc.connect.PhysicalConnection; import com.github.housepower.jdbc.connect.PhysicalInfo; import com.github.housepower.jdbc.data.Block; import com.github.housepower.jdbc.misc.Validate; import com.github.housepower.jdbc.protocol.HelloResponse; import com.g...
import java.io.*; import java.lang.Math; import vector.Vector2D; class KiwiVectorMath { // // /\ // / \ // / \ // l / \ r // / \ // / \ // ------------ // m public static void main(String[] argv){ Vector2D middleWheelVec = new Vector2D(1.0...
package com.cantinho.cms; import com.cantinho.cms.controllers.Controller; import org.apache.catalina.connector.Connector; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.SpringApplication; import org.springframework.boo...
package com.project.onthego.proxy; import java.net.InetSocketAddress; import java.net.Proxy; import com.squareup.okhttp.OkHttpClient; import com.squareup.okhttp.Request; import com.squareup.okhttp.Response; public class RealInternet implements Internet { @Override public Response connectTo(Request req) throws Ex...
/* * Copyright 2013-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright (C) 2011 Benoit GUEROUT <bguerout at gmail dot com> and Yves AMSELLEM <amsellem dot yves at gmail dot com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http:/...
/* * Copyright (c) Pawel Quver 2015. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL * THE AUTHOR OR CONTR...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/*- * #%L * Soot - a J*va Optimization Framework * %% * Copyright (C) 1997 - 2018 Raja Vallée-Rai and others * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 2....
//Dstl (c) Crown Copyright 2017 package uk.gov.dstl.baleen.annotators.regex; import org.junit.Test; import uk.gov.dstl.baleen.annotators.regex.Email; import uk.gov.dstl.baleen.annotators.testing.AbstractAnnotatorTest; import uk.gov.dstl.baleen.annotators.testing.types.TestCommsIdentifier; import uk.gov.dstl.baleen.ty...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.dynamite; // Referenced classes of package com.google.android.gms.dynamite: // DynamiteModule, zza public static class ...
package com.empdirectory.model.am.client; import com.empdirectory.model.am.common.EmpDirectoryModule; import oracle.jbo.client.remote.ApplicationModuleImpl; // --------------------------------------------------------------------- // --- File generated by Oracle ADF Business Components Design Time. // --- ...
package g2048.v3; /** * @author Xcl * @date 2021/12/1 09:48 * @package g2048.v3 */ import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; publ...
package com.pj.offer.config.security; import com.pj.offer.domain.model.User; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import org.springframework.beans.factory.annotation.Value; import org.springframework.security.core.Authentication; import org.springframew...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package chapter08; import com.jme3.bullet.collision.shapes.SphereCollisionShape; import com.jme3.bullet.control.RigidBodyControl; import com.jme3.math.Vector3f; import com.jme3.scene.Geometry; import com.jme3....
/* * Created on Jun 8, 2006 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ package biomight.chemistry; import java.util.ArrayList; import biomight.BioMightBase; import biomight.Constants; import biomight....
// Automatically generated by xdrgen // DO NOT EDIT or your changes may be overwritten package io.digitalbits.sdk.xdr; import java.io.IOException; import com.google.common.base.Objects; import java.util.Arrays; // === xdr source ============================================================ // struct TransactionV0...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.documentapi.messagebus.protocol; import com.yahoo.messagebus.EmptyReply; import com.yahoo.messagebus.routing.RoutingContext; /** * This policy assigns an error supplied at construc...
/** * Copyright 2015-2017 Boundless, http://boundlessgeo.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
import java.util.Locale; import java.util.Scanner; public class Main_2 { public static void main(String[] args) { //EXERCICIO 02 Scanner sc = new Scanner(System.in); Locale.setDefault(Locale.US); double area , parame , raio ; parame = 3.14159; System.out.print("Digite o valor de Raio: ")...
/** * Copyright 2016 William Van Woensel Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
package ru.taximaxim.codekeeper.apgdiff.sql; import static ru.taximaxim.codekeeper.apgdiff.sql.Keyword.KeywordCategory.COL_NAME_KEYWORD; import static ru.taximaxim.codekeeper.apgdiff.sql.Keyword.KeywordCategory.RESERVED_KEYWORD; import static ru.taximaxim.codekeeper.apgdiff.sql.Keyword.KeywordCategory.TYPE_FUNC_NAME_K...
package schedulerscreens; import io.appium.java_client.AppiumDriver; import io.appium.java_client.MobileElement; import models.Event; import org.openqa.selenium.support.FindBy; import org.testng.annotations.Test; public class EditCreateEventScreen extends BaseScreen{ public EditCreateEventScreen(AppiumDriver<Mobi...
import java.util.Comparator; /** * Client for a search library with a generic type. * * @author Dean Hendrix (dh@auburn.edu) * @version 2010-08-20 * */ public class SearchLibraryGenericCompClient { /** * Illustrates basic calls to search method. * * @param args Command line argu...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
package myservice.mynamespace.service.api; import org.apache.olingo.server.api.processor.EntityProcessor; public interface IEntityProcessor extends EntityProcessor, ICanHandleODataUri { }
package core.ast.util; import com.intellij.psi.PsiConditionalExpression; import com.intellij.psi.PsiExpression; public class InstanceOfConditionalExpression implements ExpressionInstanceChecker { public boolean instanceOf(PsiExpression expression) { return expression instanceof PsiConditionalExpression;...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.09.06 at 0...
/** * Copyright 2018 The OpenTracing Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package com.atming.mingmall.product.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com....
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package aula_2020_05_25_noite; /** * * @author sicsu */ public class Vetor4 { public static void main(String[] args) { ...
/* * Copyright (C) 2017 优客服-多渠道客服系统 * Modifications copyright (C) 2018-2019 Chatopera Inc, <https://www.chatopera.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
package com.jivesoftware.os.miru.reco.trending; import com.jivesoftware.os.mlogger.core.MetricLogger; import com.jivesoftware.os.mlogger.core.MetricLoggerFactory; import java.nio.ByteBuffer; import java.util.Arrays; /** * Supports storing a hits waveform. You can add hit @ time in any order. * The Buffer will slide...
package de.srendi.advancedperipherals.common.container.base; import net.minecraft.network.chat.Component; import net.minecraft.world.MenuProvider; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.AbstractContainerMenu; import net....
package com.cap.jumpthequeue.general.common.api.validation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import javax.validation.Constraint; import javax.validati...
package com.hubspot.singularity.auth; import com.hubspot.singularity.auth.authenticator.SingularityAuthenticator; import com.hubspot.singularity.auth.authenticator.SingularityDisabledAuthenticator; import com.hubspot.singularity.auth.authenticator.SingularityTokenAuthenticator; import com.hubspot.singularity.auth.auth...
package com.xm.gulimall.product.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.xm.common.utils.PageUtils; import com.xm.common.utils.Query; import com.x...
package org.daming.person.pojo.type.handler; import org.apache.ibatis.type.BaseTypeHandler; import org.apache.ibatis.type.JdbcType; import org.apache.ibatis.type.MappedJdbcTypes; import org.apache.ibatis.type.MappedTypes; import org.daming.person.enums.Gender; import org.springframework.util.StringUtils; import java....
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.bgstation0.android.sample.sharedpreferences_; public final class R { public static final class attr { } public st...
package com.wqwy.zhnm.base.component.utils; import java.math.BigDecimal; public class Arith { /** * 由于Java的简单类型不能够精确的对浮点数进行运算,这个工具类提供精 * 确的浮点数运算,包括加减乘除和四舍五入。 */ //默认除法运算精度 private static final int DEF_DIV_SCALE = 10; //这个类不能实例化 pri...
/* * Javolution - Java(TM) Solution for Real-Time and Embedded Systems * Copyright (C) 2012 - Javolution (http://javolution.org/) * All rights reserved. * * Permission to use, copy, modify, and distribute this software is * freely granted, provided that this notice is preserved. */ package javolution.util.inter...
package com.shop.service; import com.baomidou.mybatisplus.extension.service.IService; import com.shop.bean.model.Area; import java.util.List; /** * @author yzh */ public interface AreaService extends IService<Area> { /** * 通过pid 查找地址接口 * * @param pid 父id * @return */ List<Area> li...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package org.carlspring.strongbox.artifact.generator; import org.carlspring.strongbox.artifact.coordinates.NugetArtifactCoordinates; import org.carlspring.strongbox.artifact.coordinates.versioning.SemanticVersion; import org.carlspring.strongbox.io.LayoutOutputStream; import org.carlspring.strongbox.storage.metadata.nu...
package org.nutz.castor.castor; import java.sql.Time; import java.util.Date; import org.nutz.castor.Castor; import org.nutz.castor.FailToCastObjectException; public class Datetime2SqlTime extends Castor<Date, Time> { @Override public Time cast(Date src, Class<?> toType, String... args) throws FailToCastObje...
/* * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.drawee.backends.pipeline.info; import com.facebook.imagepipeline.listener.BaseRequestListener; import javax.annotati...
package module4; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.data.Feature; import de.fhpotsdam.unfolding.data.GeoJSONReader; import de.fhpotsdam.unfolding.data.PointFeature; import de.fhpotsdam.unfolding.geo.Location; import de.fhpotsdam.unfolding.marker.AbstractShapeMarker; import de.fhp...
package org.benf.cfr.tests; /** * Created by IntelliJ IDEA. * User: lee * Date: 05/05/2011 * Time: 18:48 */ public class SyncTest6 { private int x[]; /* This doesn't currently work, because we are * incorrectly pushing intermediate expression computation * past a monitorexit. * * Thi...
package com.taskagile.domain.model.activity; import com.taskagile.domain.model.board.events.BoardCreatedEvent; import com.taskagile.domain.model.board.events.BoardMemberAddedEvent; public class BoardActivities { public static Activity from(BoardCreatedEvent event) { String detail = ActivityDetail.blank() ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache license, Version 2.0 * (the "License"); you may n...
// Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.audio; import org.terasology.gestalt.assets.Asset; import org.terasology.gestalt.assets.AssetData; import org.terasology.gestalt.assets.AssetType; import org.terasology.gestalt.assets.DisposableResource; im...
package com.cdesigner.mgr.req; import org.apache.commons.lang3.StringUtils; /** * @author 刘飞 E-mail:liufei_it@126.com * * @version 1.0.0 * @since 2015年7月4日 下午7:02:30 */ public class IndustryListRequest extends PageRequest { private Long id; private String name; private Integer listed = 1; @Override pro...
package org.xtuml.bp.als.oal; //==================================================================== // // File: $RCSfile: OalPlugin.java,v $ // Version: $Revision: 1.13 $ // Modified: $Date: 2013/01/10 23:43:47 $ // // (c) Copyright 2003-2014 Mentor Graphics Corporation All rights reserved. // //====...