text
stringlengths
7
995k
/* * Copyright (c) 2019 sep.gg <seputaes@sep.gg> * * 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, m...
package com.github.zhenwei.pkix.util.oer.its; import com.github.zhenwei.core.asn1.ASN1Object; import com.github.zhenwei.core.asn1.ASN1OctetString; import com.github.zhenwei.core.asn1.ASN1Primitive; import com.github.zhenwei.core.asn1.ASN1Sequence; /** * EcdsaP256Signature ::= SEQUENCE { rSig EccP256CurvePoint, sSig...
// Targeted by JavaCPP version 1.5.4: DO NOT EDIT THIS FILE package org.bytedeco.opencv.opencv_bgsegm; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.openblas.global.openblas_nolapack.*; impo...
/* * Copyright (c) 2019-2022 "Neo4j," * Neo4j Sweden AB [https://neo4j.com] * * This file is part of Neo4j. * * 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.apach...
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/* * 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.example.a33206.wechange.Adapt; import android.content.Context; import android.graphics.Bitmap; import android.net.Uri; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; impor...
package com.nutrons.reboundrumbledemo; import com.nutrons.reboundrumbledemo.commands.elevator.ElevatorDownCmd; import com.nutrons.reboundrumbledemo.commands.elevator.ElevatorStopCmd; import com.nutrons.reboundrumbledemo.commands.elevator.ElevatorUpCmd; import com.nutrons.reboundrumbledemo.commands.shooter.PushDiskCmd;...
/* * Copyright (C) 2010-2014 Hamburg Sud and the contributors. * * 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 a...
/* * Copyright (C) 2010 The Android Open Source Project * Copyright (C) 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/LICENS...
package ruolan.com.cnmarket.presenter; import android.app.Activity; import android.support.v4.app.Fragment; import javax.inject.Inject; import ruolan.com.cnmarket.been.IndexBean; import ruolan.com.cnmarket.common.rx.RxHttpResponseCompat; import ruolan.com.cnmarket.common.rx.subscribe.ProgressSubscriber; import ruola...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.policy.v2018_05_01.implementation; import com.mi...
/* * 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 it.mattiameligeni.tris; /** * * @author Mattia */ public class Tavolo { private boolean vittoria; private int turn...
/** * Copyright 2019 Pleo Soft d.o.o. (pleosoft.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 applicable...
package org.opensha.commons.data.estimate; import org.opensha.commons.data.function.ArbDiscrEmpiricalDistFunc; import org.opensha.commons.data.function.AbstractDiscretizedFunc; /** * <p>Title: DiscreteValueEstimate.java </p> * <p>Description: This can be used to specify probabilities associated with * discrete val...
package net.frozenorb.pathsearch.jobs; import net.frozenorb.pathsearch.AsyncPathfinder; import net.frozenorb.pathsearch.PositionPathSearchType; import net.frozenorb.pathsearch.cache.SearchCacheEntry; import net.frozenorb.pathsearch.cache.SearchCacheEntryPosition; import net.minecraft.server.EntityCreature; import net....
package com.senior.project.genealogy.util; import android.Manifest; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityManager; import android.content.ComponentName; import android.content.Context; import android.content.pm.PackageManager; import android.database.Cursor; im...
/* * Copyright 1999-2015 dangdang.com. * <p> * 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 o...
/* * 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 under t...
/* * Copyright (c) 2017 by Gerrit Grunwald * * 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...
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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/li...
/*L * Copyright (c) 2006 SAIC, SAIC-F. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/rembrandt/LICENSE.txt for details. */ // Created by Xslt generator for Eclipse. // XSL : not found (java.io.FileNotFoundException: (Bad file descriptor)) // Default XSL used : easystr...
package aug.bueno.c1.l3.chat.app.service; import aug.bueno.c1.l3.chat.app.model.ChatForm; import aug.bueno.c1.l3.chat.app.model.ChatMessage; import aug.bueno.c1.l3.chat.app.repository.mapper.ChatMessageMapper; import org.springframework.stereotype.Service; import java.util.Arrays; import java.util.List; @Service pub...
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
package org.onebillion.onecourse.utils; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import org.onebillion.onecourse.mainui.MainActivity; import org.onebillion.onecourse.receivers.OBAlarmReceiver; /** * OBAlarmManager * Sets Alarm...
package com.TheJavaCooker.CookingWithJava.DataBase.Services; import com.TheJavaCooker.CookingWithJava.DataBase.Entities.Recipe; import com.TheJavaCooker.CookingWithJava.DataBase.Entities.User; import com.TheJavaCooker.CookingWithJava.DataBase.Repository.RecipeRepository; import org.springframework.beans.factory.annot...
/** * Copyright © 2016~2020 CRPC (coderhook@gmail.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 appli...
package com.lmax.disruptor.alternatives; import java.lang.invoke.MethodHandles; import java.lang.invoke.VarHandle; class LhsPaddingVarHandleBarrier { protected long p1, p2, p3, p4, p5, p6, p7; } class ValueVarHandleBarrier extends LhsPaddingVarHandleBarrier { protected long value; } class RhsPaddingVarHand...
package org.sdmlib.test.examples.replication.chat; import javafx.event.ActionEvent; import javafx.event.EventHandler; public class ChatButtonAction implements EventHandler<ActionEvent> { private ReplicationChatClientApp app; public ChatButtonAction(ReplicationChatClientApp replicationChatClientApp) { ...
package com.xp.springsession.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * C...
package com.andreabazerla; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Profile extends BaseServlet { private static final long serialVersionUID = 1L; protected void execute(HttpServletRequest request, HttpServletResponse response) throws Exception { r...
package org.freedesktop.dbus.test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.io.Closeable; import java.util.ArrayList; import java.util.Collections; import java.util....
package br.com.estudos.pontointeligente.enums; public enum TipoEnum { INICIO_TRABALHO, TERMINO_TRABALHO, INICIO_ALMOCO, TERMINO_ALMOCO, INICIO_PAUSA, TERMINO_PAUSA; }
package org.ovirt.engine.core.bll; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.runners.MockitoJUn...
/* * Copyright (C) 2016 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 def.dom; import def.js.Iterable; @jsweet.lang.SyntacticIterable public class HTMLCollection extends Iterable<Element> { /** * Sets or retrieves the number of objects in a collection. */ public double length; /** * Retrieves an object from various collections. */ native ...
package org.springframework.jdbc.core; import java.sql.PreparedStatement; import java.sql.SQLException; /** * General callback interface used by the {@link JdbcTemplate} class. * * This interface sets values on a {@link java.sql.PreparedStatement} provided * by the JdbcTemplate class, for each of a number of upda...
package org.jeecg.modules.demo.one2one.service.impl; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.jeecg.modules.demo.one2one.entity.TestOne2onestudent; import org.jeecg.modules.demo.one2one.entity.TestOne2oneHeadthy; i...
package com.codeborne.selenide.junit; import org.junit.rules.ExternalResource; import static com.codeborne.selenide.WebDriverRunner.closeWebDriver; /** * Usage: * <pre> {@literal @}Rule * public BrowserStrategy perTest = new BrowserStrategy();</pre> * or * <pre> {@literal @}ClassRule * public static BrowserS...
package deformablemesh.meshview; import org.scijava.java3d.Appearance; import org.scijava.java3d.BranchGroup; import org.scijava.java3d.Material; import org.scijava.java3d.Transform3D; import org.scijava.java3d.TransformGroup; import org.scijava.java3d.TransparencyAttributes; import org.scijava.java3d.utils.geometry.S...
/** * Copyright (C) 2010 University of Washington * * 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...
package br.com.correios.webservice.postagem; import java.util.List; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.datatype.XMLGregorianCalendar; import javax.xml.ws.RequestWrapper; import ja...
/* * 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...
/* * Fortify Software Security Center API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 1:18.20 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.gi...
/* * Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (http://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.lealone.db.schema; import org.lealone.db.DbObjectBase; /** * The base class for classes implementing SchemaObject. */ public abstract ...
/* * 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 it.jaschke.alexandria.ui.fragments; import android.app.Activity; import android.database.Cursor; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.LoaderManager; import android.support.v4.content.CursorLoader; import android.support.v4.content.Loader; import androi...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. The ASF licenses this file to You * 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 * * ...
/*================================================================================ Copyright (c) 2013 Steve Jin. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must re...
/* * Copyright 2019 The Error Prone 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 ...
package org.xblackcat.sjpu.settings; import org.xblackcat.sjpu.settings.ann.Optional; import org.xblackcat.sjpu.settings.ann.ParseWith; import org.xblackcat.sjpu.settings.converter.URLParser; import java.net.URL; /** * Optional settings with not filled a value. Should be null in {@linkplain IOptionalSubSettings#get...
/* * Copyright Terracotta, 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 ...
/* * WSO2 API Manager - Store * This specifies a **RESTful API** for WSO2 **API Manager** - Store. Please see [full swagger definition](https://raw.githubusercontent.com/wso2/carbon-apimgt/v6.0.4/components/apimgt/org.wso2.carbon.apimgt.rest.api.store/src/main/resources/store-api.yaml) of the API which is written us...
package fr.esgi.potter; public enum Book { FIRST, SECOND, THIRD, FOURTH, FIFTH }
package com.personal.SpringBootREST.models; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="name") public class Movie { @Id @GeneratedValue(strategy = GenerationType....
/* * Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED * 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://mindorks.com/license/apache-v2 * * Unless required by applicable...
package pk.home.busterminal.domain; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence...
package github.banana.letcode; import java.util.TreeSet; public class ThirdMaxV2 { public static void main(String[] args) { System.out.println(thirdMaxV2(new int[]{1, 2})); } public int thirdMax(int[] nums) { int length = nums.length; // 散列维护三个最大值, 最后来帅选 // 默认升序排序, 故移除第一个...
/* * 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 * distribut...
package de.haevn.distributed_systems.v2.exceptions; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.ResponseStatus; @ResponseStatus(value = HttpStatus.ALREADY_REPORTED, reason = "Given object already exists") public class ExistenceException extends APIException{ }
/* * Copyright (c) 2018 Abex * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of conditions and ...
package org.tangence.java; import java.nio.ByteBuffer; /** */ public class TangenceMessageInit extends TangenceMessage { /** * Constructor for TangenceMessageInit. * @param type int * @param length long */ public TangenceMessageInit(int type, long length, final Registry registry) { super(type, length, re...
package com.supervisor.sdk.time; import java.time.LocalDate; public interface Period { /** * Begin date. * @return Date */ LocalDate begin(); /** * End date. * @return Date */ LocalDate end(); /** * Total number of days on period. * @return Count */ long days(); /** * Total number of mo...
/* * Copyright 2018 NAVER Corp. * * 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 ...
/* * 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 com.prowidesoftware.swift.model.mx.dic; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ActionType7Code. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="Act...
package hr.fer.java.vjezbe.zadatak7.configuration; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManage...
package de.danoeh.antennapod.activity; import android.content.ClipData; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.t...
/* * Copyright 2018 JDCLOUD.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 applicable law or agreed to in...
/* * 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 ...
/* Copyright 2016 Goldman Sachs. 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, softw...
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
package seedu.tarence.logic.parser; import static seedu.tarence.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT; import static seedu.tarence.logic.parser.CliSyntax.PREFIX_START_DATE; import java.text.SimpleDateFormat; import java.util.Date; import java.util.stream.Stream; import seedu.tarence.logic.commands.Set...
// // Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802 // Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem. // Gerado ...
package com.example.hr.domain.event; import com.example.hr.domain.DomainEvent; import com.example.hr.domain.TcKimlikNo; @DomainEvent public class EmployeeFiredEvent extends EventBase { private final TcKimlikNo kimlikNo; public EmployeeFiredEvent(TcKimlikNo kimlikNo) { this.kimlikNo = kimlikNo; } public TcKiml...
/* * Copyright 2021 Google LLC * * 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 applicable law or agreed to ...
/* * Copyright 2002-2004 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...
/* * 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 ...
package opdwms.web.weighbridgestations.forms; import opdwms.core.template.forms.Form; import opdwms.web.weighbridgestations.entities.WeighbridgeTypes; import org.springframework.stereotype.Component; @Component public class WeighbridgeTypesForm extends Form<WeighbridgeTypes> { public WeighbridgeTypesForm(){ ...
package com.example.enotaris.notaris; import android.content.Context; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import com.example.enotaris.R; i...
package no.nav.foreldrepenger.selvbetjening.innsending.domain.arbeid; import static no.nav.foreldrepenger.common.domain.validation.InputValideringRegex.FRITEKST; import javax.validation.constraints.Pattern; public record TilknyttetPerson(@Pattern(regexp = FRITEKST) String navn, @Patter...
package org.carlspring.strongbox.repository; import org.carlspring.strongbox.configuration.Configuration; import org.carlspring.strongbox.providers.io.LayoutFileSystem; import org.carlspring.strongbox.providers.io.RepositoryPath; import org.carlspring.strongbox.providers.io.RepositoryPathResolver; import org.carlsprin...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.jdisc.bundle.g; /** * @author Simon Thoresen Hult */ public class CertificateG { }
/* * Copyright 2013 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 applica...
/* * Copyright 2014-2019 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...
package com.pianostudy.ui.util; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; public class SharedPreferencesUtil { public static SharedPreferences getSharedPreference(Context context,String name){ //获取SharedPreferences对象 ...
package io.ifar.skidroad.dropwizard.config; import com.fasterxml.jackson.annotation.JsonProperty; import org.hibernate.validator.constraints.Range; import javax.validation.constraints.DecimalMin; /** * */ public class RequestLogPrepConfiguration { @JsonProperty("master_key") //optional; only needed if usi...
package com.atguigu.gmall.pms.controller; import java.util.Arrays; import java.util.Map; import com.atguigu.core.bean.PageVo; import com.atguigu.core.bean.QueryCondition; import com.atguigu.core.bean.Resp; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans...
/* * Copyright 2012-2019 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.jd.blockchain.ledger; import com.jd.blockchain.binaryproto.DataContract; import com.jd.blockchain.binaryproto.DataField; import com.jd.blockchain.binaryproto.PrimitiveType; import com.jd.blockchain.consts.DataCodes; import com.jd.blockchain.crypto.HashDigest; /** * 账本的元数据; * * @author huanghaiquan * ...
/* * Copyright 2016-2017 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...
package com.google.android.exoplayer2.trackselection; import java.util.Arrays; public final class TrackSelectionArray { private int hashCode; public final int length; private final TrackSelection[] trackSelections; public TrackSelectionArray(TrackSelection... trackSelectionArr) { this.trackSe...
package org.cdlib.cursive.util; import io.vavr.control.Option; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.charset.StandardCharsets; import java.util.UUID; public class TestUtils { public static final UUID NIL_UUID = new UUID(0, 0); pub...
package commercetools.store; import java.util.function.Consumer; import java.util.function.UnaryOperator; import com.commercetools.api.models.store.Store; import com.commercetools.api.models.store.StoreDraft; import com.commercetools.api.models.store.StoreDraftBuilder; import commercetools.utils.CommercetoolsTestUtil...
package com.deepoove.poi.tl.ext; import org.apache.poi.xwpf.usermodel.XWPFRun; import org.apache.poi.xwpf.usermodel.XWPFTable; import com.deepoove.poi.NiceXWPFDocument; import com.deepoove.poi.XWPFTemplate; import com.deepoove.poi.data.MiniTableRenderData; import com.deepoove.poi.policy.AbstractRenderPolicy; import c...
package com.higgsblock.global.chain.app.net.constants; import lombok.AllArgsConstructor; import lombok.Getter; /** * Give a connection a level which is used for connection pool managing. That is to say, a connection of a lower level * will always be kept out of the pool when cache is full. * * @author chenjiawei ...
package org.odk.collect.app.utilities; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import android.support.c...
package com.mangal.demo.model; import java.util.List; public class MyResponse { public long multicast_id; public int success; public int failure; public int canonical_id; public List<Result> results; }
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * abc */ package com.microsoft.azure.management.appservice.v2019_08_01.implementation; im...
/* * Copyright (C) 2013-2017 microG Project 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 ...